2 ms·
I've noticed VSCode at least also learns types and structures from JSDoc in raw / vanilla JavaScript.
by superfamicom 7y ago
I've noticed VSCode at least also learns types and structures from JSDoc in raw / vanilla JavaScript.
- uhryks 7y agoNot only VSCode, it's a documented feature of the ts compiler. https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html https://www.typescriptlang.org/docs/handbook/type-checking-j... iirc Webpack uses it extensively in its codebase