-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.base.json
42 lines (40 loc) · 1.16 KB
/
tsconfig.base.json
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
{
"$schema": "http://json.schemastore.org/tsconfig",
"files": [],
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"strict": true,
"moduleResolution": "node",
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true, // Generates `.js.map` files.
"declaration": true, // Generates `.d.ts` files.
"declarationMap": true, // Generates `.d.ts.map` files.
"forceConsistentCasingInFileNames": true,
"jsx": "react",
// if we just want incremental checking, we need to set `emitDeclarationOnly` to true.
// https://github.com/microsoft/TypeScript/issues/33809#issuecomment-589446027
"noEmit": false,
"noEmitOnError": true,
"emitDeclarationOnly": true,
"incremental": true
},
"exclude": [
"node_modules",
"dist",
"dist-types",
".next",
"coverage",
"out",
".cache",
"**/node_modules",
"**/dist",
"**/dist-types",
"**/.next",
"**/coverage",
"**/out",
"**/.cache"
]
}