-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
23 lines (23 loc) · 913 Bytes
/
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
{
"compilerOptions": {
"module": "Node16",
"target": "ES2022",
"lib": ["ES2022"],
"sourceMap": true,
"rootDir": "src",
"outDir": "out", // Ensure output directory is set
"strict": true,
"esModuleInterop": true, // Enable interop with CommonJS modules
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Enforce consistent casing in file names
"moduleResolution": "Node16", // Use Node.js module resolution
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
"resolveJsonModule": true // Allow importing JSON files
// Additional Checks
// "noImplicitReturns": true,
// "noFallthroughCasesInSwitch": true,
// "noUnusedParameters": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/tests/**/*.ts"],
"exclude": ["node_modules"]
}