TypeScript in Node.js: Native Type Stripping, erasableSyntaxOnly and Build-Free Development
Node.js 26 runs .ts files without a build step by replacing types with whitespace, but it does not check them, so tsc --noEmit must be a separate, mandatory step. With real output: a file with a type error printing 699.8, enum and parameter property errors, mandatory import type, the tsconfig Node recommends, moving the Bookstore API to TypeScript 7, imports instead of paths, the ban on .ts in node_modules, and when you still need a build.
14 Nov 2026
·
10 min
·
11