Skip to content

Glossary: TypeScript Beyond the Basics

verbatimModuleSyntax

A tsconfig option that makes `tsc` insist on `import type` for imports that are only types. It catches the error Node would otherwise hit when stripping types.

Where the book teaches it

Related terms

import typeType stripping