-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
48 lines (44 loc) · 1.96 KB
/
Copy pathtsconfig.json
File metadata and controls
48 lines (44 loc) · 1.96 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
{
"compilerOptions": {
// ── Environment & latest features ────────────────────────────────────
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// ── Bundler mode ─────────────────────────────────────────────────────
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// ── Full strict mode — every single strict flag ON ───────────────────
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitAny": true,
"noImplicitThis": true,
"alwaysStrict": true,
"useUnknownInCatchVariables": true,
// ── Additional strictness ────────────────────────────────────────────
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
"strictBuiltinIteratorReturn": true,
"isolatedModules": true,
"forceConsistentCasingInFileNames": true,
// skipLibCheck is load-bearing, not incidental (issue #429): with it off,
// tsc6 reports ~177 errors, all inside third-party .d.ts files (elysia dist
// types do not compile under TS 6 stricter generics checks) and zero in
// first-party code. Re-probe with
// `tsc6 --noEmit --skipLibCheck false` before flipping this.
"skipLibCheck": true
}
}