The strict Flag and What It Enables
Understand strictNullChecks, noImplicitAny, and more.
Welcome
The strict flag in tsconfig enables a set of stricter type checking options. Understanding what each does helps you configure TypeScript for maximum safety.
What strict Enables
strict: true enables multiple sub-flags at once.
// strict enables:
// strictNullChecks, noImplicitAny, strictFunctionTypes,
// strictBindCallApply, strictPropertyInitialization,
// noImplicitThis, useUnknownInCatchVariables, alwaysStrictAll lessons in this course
- The strict Flag and What It Enables
- Module and Target Configuration
- Path Aliases and baseUrl
- Incremental Builds and Declaration Files