Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_m8fo
· 9y ago · 0 comments
Was @ts-check just added in this version? I assume so, but if not -- is it possible to use TypeScript and just @ts-check and get basically the full type-checking power (assuming the items to be checked follow the standard lib)?
Comments
[–]
mohamedhegazy
9y ago
you could. jsut add `@ts-check` in your .js file, open it in VSCode, or pass it to the `tsc --allowjs a.js` on the commandline.