Y
Hacker News
new
|
ask
|
show
|
jobs
by
mohamedhegazy
3347 days 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-i...
1 comments
yathern
3347 days ago
Thank 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.
link