0Pricing
TypeScript Academy · Lesson

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

  1. The strict Flag and What It Enables
  2. Module and Target Configuration
  3. Path Aliases and baseUrl
  4. Incremental Builds and Declaration Files
← Back to TypeScript Academy