Skip to content

Glossary: TypeScript Basics

strict

Also written: strict mode, "strict": true

A `tsconfig.json` option that turns on a family of checks, including `noImplicitAny`, `strictNullChecks`, `strictPropertyInitialization` and `useUnknownInCatchVariables`. It is the default in TypeScript 7.

Where the book teaches it

Related terms

noImplicitAnystrictNullChecksstrictPropertyInitializationcatch variable (error is unknown)