Skip to content

Glossary: TypeScript Basics

erasableSyntaxOnly

A compiler option that makes `tsc` reject TypeScript features, such as enums, that can't simply be erased to get JavaScript.

Where the book teaches it

Related terms

enumtype stripping