News for hackers. Stuff that matters.
Re:TypeScript 2.3 by sheetjs on Thursday April 27, 2017 @12:48PM (#14212916)
I wish TS would consider the annotation-in-comments form from flow: https://flow.org/blog/2015/02/20/Flow-Comments/

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.

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...

Re:TypeScript 2.3 by yathern on Thursday April 27, 2017 @01:42PM (#14213347)
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.