Re:TypeScript 2.3
by mohamedhegazy on Thursday April 27, 2017 @12:54PM
(#14212971)
TypeScript allows for JSDoc Comments for types in .js files with `--allowJs`. you do not need to change your code for that.
See https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
For switching a large existing JS codebase, it's easy to add flow comments without changing the final minified builds, allowing you to reap the full benefits of the type check.