-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 1.16 KB
/
tsconfig.json
File metadata and controls
32 lines (32 loc) · 1.16 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
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"moduleResolution": "Bundler",
"moduleDetection": "force",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"skipLibCheck": true,
// TypeScript 6 deprecated `baseUrl` and `esModuleInterop=false`. We removed
// our explicit `esModuleInterop: false` (defaults match our intent under
// `verbatimModuleSyntax`), but `tsup`'s DTS step synthesizes a `baseUrl`
// internally that we cannot control. Silence the warning until tsup
// emits a TS-7-compatible config; revisit and remove this line then.
"ignoreDeprecations": "6.0"
},
"include": ["src/**/*", "tests/**/*", "*.ts"],
"exclude": ["node_modules", "dist", "tests/dist/**/*"]
}