Hacker News new | ask | show | jobs
by jdeaton 699 days ago
Isn't the whole idea of TS that you just convert to JS to run it
1 comments

Yes. The question is where you do the conversion and how much of a conversion to do. This allows a key conversion (type stripping) directly at load time by Node rather than needing an extra step (an external type stripper such as Typescript or esbuild) sometime before passing the file to node for loading.