Skip to content

Glossary: TypeScript Basics

type stripping

Also written: strip-only mode

What newer Node does to run a `.ts` file directly: it deletes the annotations and runs the rest, with no type checking. It can't handle features like enums.

Where the book teaches it

Related terms

Node.jsenumcompiler (tsc)