3 ms·
Latest node.js now supports „just running ts“ for cases like these: node --experimental-strip-types index.ts On non-latest Node tsx package worked great for m
by graynk 2y ago
Latest node.js now supports „just running ts“ for cases like these:
node --experimental-strip-types index.ts
On non-latest Node tsx package worked great for me (as oppposed to ts-node)
But both of those options just throw away type information (and so does Bun)