-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
44 lines (40 loc) · 1.22 KB
/
tsconfig.base.json
File metadata and controls
44 lines (40 loc) · 1.22 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
{
"compilerOptions": {
// Output settings
"target": "ES2023",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// Strict type-checking
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"exactOptionalPropertyTypes": true,
// Module interop
"esModuleInterop": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Path aliases for clean architecture imports
"baseUrl": ".",
"paths": {
"@/domain": ["./src/domain/index.ts"],
"@/domain/*": ["./src/domain/*"],
"@/application": ["./src/application/index.ts"],
"@/application/*": ["./src/application/*"],
"@/infrastructure": ["./src/infrastructure/index.ts"],
"@/infrastructure/*": ["./src/infrastructure/*"],
"@/cli": ["./src/cli/index.ts"],
"@/cli/*": ["./src/cli/*"],
"@/shared": ["./src/shared/index.ts"],
"@/shared/*": ["./src/shared/*"]
},
// Other
"skipLibCheck": true,
"resolveJsonModule": true
}
}