Lesson 4.1

tsconfig and strictness settings

Strict mode is a set of independent flags. Knowing what each one catches lets you adopt them incrementally on an existing codebase.

Duration
10m
Level
Intermediate
Students
12k students

Overview

Strict mode is a set of independent flags. Knowing what each one catches lets you adopt them incrementally on an existing codebase.

In this lesson you will:

  • Understand what each strict flag actually checks
  • Turn on strictness incrementally in a legacy project
  • Configure module resolution to match your runtime

Resources

TypeScript handbook

The official reference for the tools used in this lesson.