-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.base.json
40 lines (35 loc) · 1.03 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
/* Project Options */
"composite": false,
/* Compilation Options */
"target": "ESNext",
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"moduleResolution": "nodenext",
"resolveJsonModule": true,
/* Emit Options */
"noEmit": true, // I am using tsup to emit the code
"outDir": "dist",
"inlineSources": false,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"removeComments": true,
/* Type-Checking Options */
"strict": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
/* Interop Constraints */
"esModuleInterop": true, // this enables allowSyntheticDefaultImports
"forceConsistentCasingInFileNames": true,
/* Other Options */
"skipLibCheck": true
},
"exclude": ["node_modules"]
}