Module and Target Configuration
Choose correct module, target, and lib settings.
Welcome
The module and target settings in tsconfig control which JavaScript syntax TypeScript compiles to.
target Setting
target controls which JavaScript syntax features are emitted. ES2020 is a safe modern default.
{ "compilerOptions": { "target": "ES2020" } }All lessons in this course
- The strict Flag and What It Enables
- Module and Target Configuration
- Path Aliases and baseUrl
- Incremental Builds and Declaration Files