-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
19 lines (19 loc) · 894 Bytes
/
Copy pathtsconfig.base.json
File metadata and controls
19 lines (19 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
// The compiler options every package in this workspace shares, in one place. Each package's own tsconfig.json extends this and keeps only what genuinely differs for it -- its `lib` and `types` (the isomorphism gate), its own `include`/`exclude`. Its tsconfig.node.json extends that package's tsconfig.json in turn, so it inherits this transitively.
"compilerOptions": {
"target": "ES2024",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
// Every indexed read is typed as possibly-undefined, so the code narrows properly instead of trusting a bound.
"noUncheckedIndexedAccess": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"esModuleInterop": true,
"noEmit": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}