4 ms·
Isn't the whole idea of TS that you just convert to JS to run it
by jdeaton 2y ago
Isn't the whole idea of TS that you just convert to JS to run it
- WorldMaker 2y agoYes. 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.