4 ms·
“During the transpilation process, no type checking is performed, and types are discarded.” this node feature is primarily around disregarding typescript in f
by tylerchilds 2y ago
“During the transpilation process, no type checking is performed, and types are discarded.”
this node feature is primarily around disregarding typescript in favor of the underlying javascript it represents.
that reminds me of this fun article:
https://www.richard-towers.com/2023/03/11/typescripting-the-technical-interview.html https://www.richard-towers.com/2023/03/11/typescripting-the-...
- dgellow 2y agoYes, the feature is about being able to run typescript scripts. It’s not a type checker, it is similar to ts-node, deno, bun, etc. Typescript has been designed for that specific purpose.
- tylerchilds 2y agoseen and heard, my original point was that typescript is not poised to be a tc39 standard. this is still a “runs some typescript” and “not runs every typescript file” “ At least initially in this PR no trasformation is performed, meaning that using Enum, namespaces etc... will not be possible.” this type of nuance is the core of why typescript is a headache for any organization with more than a single codebase— javascript is portable, typescript is in theory, but not in observed practice.