-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
30 lines (30 loc) · 1.16 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// tsconfig.json
{
"compilerOptions": {
"outDir": "dist", // Output directory for compiled JavaScript
"module": "NodeNext",
"target": "es2020", // Or a lower version if needed for compatibility
"sourceMap": true, // Generate source maps for debugging
"moduleResolution": "NodeNext",
"types": ["node", "jest"],
"resolveJsonModule": true, // Enable JSON module resolution
"esModuleInterop": true, // Enable ES module interop
"forceConsistentCasingInFileNames": true,
"strict": true, // Enable strict type checking
"noImplicitAny": false, // Prevent implicit 'any' types
"strictNullChecks": true, // Enable strict null checks
"noUnusedLocals": true, // Warn about unused variables
"noUnusedParameters": true, // Warn about unused parameters
"declaration": true, // Generate declaration files (.d.ts)
"outDir": "dist", // Directory to output compiled files
"rootDir": "src", // Root directory of source files
"skipLibCheck": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}