TypeScript 7 · Compiler and running
Run a TypeScript file with Node.js
Node.js 24 strips types and runs the file directly. It supports only syntax that erases to JavaScript, so enums and namespaces are not allowed by default.
node app.ts
Official TypeScript 7 documentation