-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
74 lines (68 loc) · 1.95 KB
/
tsconfig.json
File metadata and controls
74 lines (68 loc) · 1.95 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"compilerOptions": {
// Language and Environment
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
// Module Resolution
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
// Type Checking - Strict Mode (Required)
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// Emit - Disabled for base config since we use project references
"declaration": false,
"declarationMap": false,
"sourceMap": false,
"removeComments": false,
"importHelpers": true,
"downlevelIteration": true,
// Interop Constraints
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// Skip Library Checking
"skipLibCheck": true,
// Path Mapping
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@/client/*": ["src/client/*"],
"@/server/*": ["src/server/*"],
"@/shared/*": ["src/shared/*"],
"@/components/*": ["src/client/components/*"],
"@/hooks/*": ["src/client/hooks/*"],
"@/services/*": ["src/client/services/*"],
"@/utils/*": ["src/client/utils/*"],
"@/types/*": ["src/shared/types/*"]
}
},
"include": [
"src/**/*",
"tests/**/*",
"vite.config.ts"
],
"exclude": [
"node_modules",
"dist",
"build",
".wrangler"
],
// Project references removed to simplify configuration
// Use individual tsconfig files directly instead
}