Hacker News new | ask | show | jobs
by mohamedhegazy 3340 days 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.