-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
31 lines (28 loc) · 1.01 KB
/
tsconfig.json
File metadata and controls
31 lines (28 loc) · 1.01 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
{
"compilerOptions": {
/* Base Environment */
"target": "ES2024",
"lib": ["ES2024"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
/* Strictness */
"strict": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true, // Recommended: Ensures 'override' keyword is used in classes
"noPropertyAccessFromIndexSignature": true, // Recommended: Prevents dot-notation for dynamic keys
/* Emit & Performance */
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
"rootDir": "src",
"skipLibCheck": true, // Keeps build times fast
"esModuleInterop": true, // Modern default for CJS/ESM compatibility
"forceConsistentCasingInFileNames": true,
/* 2026 Optimization */
"isolatedDeclarations": true // Speeds up builds in monorepos/large projects
},
"include": ["src"],
"exclude": ["node_modules", "dist", "tests"]
}