Skip to content

Glossary: TypeScript Beyond the Basics

erasableSyntaxOnly

A tsconfig option that rejects TypeScript syntax Node can't simply strip out, such as enums. With it on, any file can run directly with `node`.

Where the book teaches it

Related terms

Type strippingimport type