Re:Yarn's Future – v2 and beyond
by _hardwaregeek on Thursday January 24, 2019 @11:09AM
(#18989881)
TypeScript works with JSDoc annotations: https://github.com/Microsoft/TypeScript/wiki/JsDoc-support-i...
[ Parent
| on HN ]
Can confirm, have sometimes added /* * @type Foo */ above a type and VS Code assumed that type was Foo everywhere else in my project, as if I typed `foo: Foo` directly. Didn't even have TypeScript in the project itself, purely an IDE feature. Extremely well thought out and useful ecosystem.