Modern tsconfig template [2024]
Sarthak Batra
1 min read
In this blog, I am keeping a draft example of the modern tsconfig file that works for me in the projects that I am making.
{
"compilerOptions": {
"target": "ESNext",
"experimentalDecorators": false,
"module": "commonjs",
"rootDir": "./src",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": false,
"skipLibCheck": true
},
"exclude": ["node_modules/"],
"include": ["src/**/*.ts"]
}
I can come back to it when I need help.
You can use it in your projects too.
Cheers!
0
Subscribe to my newsletter
Read articles from Sarthak Batra directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by