TypeScript type stripping
Also written: type stripping
Node 22.18 and later removes TypeScript types as it runs a `.ts` file, so `node src/server.ts` works without a build step. `npx tsc` still checks the types.
Also written: type stripping
Node 22.18 and later removes TypeScript types as it runs a `.ts` file, so `node src/server.ts` works without a build step. `npx tsc` still checks the types.