-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 1.24 KB
/
tsconfig.json
File metadata and controls
34 lines (34 loc) · 1.24 KB
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
31
32
33
34
{
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
// Use Node.js module resolution
"moduleResolution": "node",
// Adjust based on your output structur
"outDir": "./dist",
// Generates corresponding '.d.ts' files for TypeScript definitions
// "declaration": true,
// Directory where declaration files will be placed
// "declarationDir": "./dist/types",
// Enables all strict type-checking options
"strict": true,
// Enables strict null checks
"resolveJsonModule": true,
// Enables emit interoperability between CommonJS and ES Modules
"esModuleInterop": true,
// Skips type checking of declaration files (can speed up compilation)
"skipLibCheck": true,
// Ensures that file names are case-sensitive
"forceConsistentCasingInFileNames": true,
// Report unused locals and parameters
"noUnusedLocals": true,
"noUnusedParameters": true,
// Prevent fallthrough in switch statements
"noFallthroughCasesInSwitch": true,
// Require explicit override keyword when overriding
"noImplicitOverride": true,
// Ensure index access is intentional
"noPropertyAccessFromIndexSignature": true
},
"exclude": ["node_modules", "dist", "./src/templates"]
}