Node 24 Runs TypeScript With No Build Step: How It Works and What It Won't Do
Node 24 executes .ts files directly via bundled Amaro (a wrapper around swc), stripping types in place with no build step and no --experimental-strip-types flag. Annotations are replaced with equal-length blanks, so line and column numbers stay identical. Node ignores tsconfig.json, does no type checking, and cannot generate code.
- The --experimental-strip-types flag is unnecessary since Node 23.6; output is identical on 24
- Types are blanked in place, keeping error positions aligned with the source
- Node never reads tsconfig.json and performs no type checking
- Mode is exposed via process.features.typescript: strip, transform or false
Read next
Software