3 ms·
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/Ty
by mohamedhegazy 9y ago
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-in-JavaScript https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
- yathern 9y agoThank you! I've been trying to figure out how to get JSDoc-ed code to get appropriately typed in Visual Studio Code with Typescript files as well.