Re:TypeScript 2.3
by tabeth on Thursday April 27, 2017 @01:17PM
(#14213143)
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)?
[ Parent
| on HN ]
Re:TypeScript 2.3
by mohamedhegazy on Thursday April 27, 2017 @01:19PM
(#14213162)
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.