Config
tsconfig Generator
Every option explained in plain language. Toggle what you need and copy the result straight into your project.
Language & Environment
The JS version the compiler emits. ES2022 is safe for all modern runtimes.
The module syntax in the output. Bundled apps: ESNext. Node libraries: NodeNext.
How imports are located. Use bundler with Vite/Next/webpack, nodenext for Node.
react-jsx is the modern automatic runtime (no React import needed).
lib
The built-in type declarations available to your code (browser DOM, ES features, workers).
Checks & Flags
Paths & baseUrl
→
Generated tsconfig.json
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": [
"DOM",
"DOM.Iterable",
"ES2022"
],
"jsx": "react-jsx",
"strict": true,
"incremental": true,
"esModuleInterop": true,
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@typescript/*": [
"./src/*"
]
}
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}