Skip to content

Instantly share code, notes, and snippets.

@potikanond
Last active September 21, 2025 07:05
Show Gist options
  • Save potikanond/bf2ca2cd5810a3a960539301465e76c1 to your computer and use it in GitHub Desktop.
Save potikanond/bf2ca2cd5810a3a960539301465e76c1 to your computer and use it in GitHub Desktop.
TSConfig for Node.js Application
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
/* If transpiling with TypeScript: */
"module": "NodeNext",
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
/* If your code doesn't run in the DOM: */
"lib": ["es2022"]
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment