Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
superfamicom
· 6y ago · 0 comments
I've noticed VSCode at least also learns types and structures from JSDoc in raw / vanilla JavaScript.
Comments
[–]
uhryks
6y ago
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