Apply suggestions from code review
Apply suggestions from code review

Co-Authored-By: msanguineti <7dff33f7874e7bd2856c57b3f95333c8e044cd08@users.noreply.github.com>
dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,borisyankov/DefinitelyTyped,borisyankov/DefinitelyTyped,mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped