Running TypeScript in Node.js without any extra tooling

by niedzielskion 4/13/2025, 5:12 PMwith 4 comments

by mubouon 4/13/2025, 6:09 PM

I love not needing tsnode anymore. Just wish it'd do type-checking, since without that we still need to install typescript separately. Add onto that a linter/formatter... meanwhile Deno does all of that natively. Node needs to step up its game.

by niedzielskion 4/13/2025, 5:12 PM

I made a small template that demonstrates the new type-stripping feature in Node.js. Nothing fancy but I was surprised that I didn't need to install a TypeScript test runner and generally how nice it was.

by autocoleon 4/13/2025, 6:44 PM

It seems a little silly to not support some of the small additions TypeScript contributes when it could just be another flag to enable enum, namespace, constructor to property init support