-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (38 loc) · 1.28 KB
/
Copy pathtsconfig.json
File metadata and controls
39 lines (38 loc) · 1.28 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
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"jsx": "react-jsx",
"jsxImportSource": "react",
// tsup's bundled rollup-plugin-dts injects `baseUrl: "."` into the
// compiler options it builds for .d.ts generation (rollup.js ~6837).
// TS 6 deprecates baseUrl and errors on it (TS5101), which fails the
// dts step even though nothing here sets it. Silencing is safe: we do
// not use baseUrl or paths, so the injected value resolves nothing.
// Remove this once tsup ships a plugin that stops injecting it.
"ignoreDeprecations": "6.0"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test"]
}