3 ms·
I thought the same but the more I use TypeScript the less I care about it's typechecker. I use it mostly for the amazingly powerful IDE integration and so I don
by ng12 7y ago
I thought the same but the more I use TypeScript the less I care about it's typechecker. I use it mostly for the amazingly powerful IDE integration and so I don't have to remember if a `User` has an `id` or a `userId`.
- superfamicom 7y agoI'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