Re:Problems with TypeScript
by superfamicom on Wednesday January 15, 2020 @11:56PM
(#22061775)
I've noticed VSCode at least also learns types and structures from JSDoc in raw / vanilla JavaScript.
[ Parent
| on HN ]
Not only VSCode, it's a documented feature of the ts compiler.
https://www.typescriptlang.org/docs/handbook/type-checking-j...
iirc Webpack uses it extensively in its codebase