Skip to content

Glossary: TypeScript Beyond the Basics

Type stripping

Also written: type-stripping

Node 22 running a `.ts` file by deleting its types, without checking them. That's why type imports must be marked `import type`, and why you still run `tsc` to check types.

Where the book teaches it

Related terms

import typeerasableSyntaxOnlyverbatimModuleSyntax