- All Courses
- TypeScript Deep Dive
- Tooling and Build
- tsconfig options that matter
tsconfig options that matter
target decides which syntax is downlevelled, module decides what the emitted imports look like, and module resolution decides how specifiers are found on disk.
Overview
A short list of options with large consequences
target decides which syntax is downlevelled, module decides what the emitted imports look like, and module resolution decides how specifiers are found on disk. Mismatching them against your runtime produces confusing failures that look like bugs in your code.
In most modern setups a bundler does the emitting and the compiler only checks types. Saying so explicitly avoids two tools disagreeing about the output.
Everything else is preference until it is not. Skipping library checks speeds up builds and hides genuine incompatibilities between dependency type versions.
In this lesson you will:
- Set target and module for your runtime
- Choose the right module resolution mode
- Separate type checking from emitting
Resources
Notes are not saved yet — they clear when you leave this page.
Strict mode migration strategy
14m
Project references and monorepos
15m