TypeScript 7 · tsconfig options

A solid starting tsconfig

A strict configuration for a Node.js project using ES modules.

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "NodeNext",
    "strict": true,
    "skipLibCheck": true,
    "outDir": "dist"
  },
  "include": ["src"]
}

Official TypeScript 7 documentation

More tsconfig options commands

All tsconfig options commands · TypeScript 7 cheatsheet

Was this page helpful?