-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (30 loc) · 1.06 KB
/
Copy pathtsconfig.json
File metadata and controls
34 lines (30 loc) · 1.06 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": {
/* 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": false, // true: Speeds up builds in monorepos/large projects
/* React JSX */
"jsx": "react-jsx"
},
"include": ["src"],
"exclude": ["node_modules", "dist", "tests"]
}