-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
48 lines (33 loc) · 1.09 KB
/
tsconfig.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
43
44
45
46
47
48
{
"compilerOptions": {
/* Configuration options. */
// What to emit in.
"target": "es2018",
// What polyfills to include.
// "esnext" includes the latest everything. "dom" includes stuff used by things like @reduxjs/toolkit typings.
"lib": ["dom", "esnext"],
/* Modules options. */
// The module structure to use.
"module": "commonjs",
// Already the default.
// "moduleResolution": "node",
// Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports.
// Implies 'allowSyntheticDefaultImports'.
"esModuleInterop": true,
/* Build & emit options. */
"outDir": "build",
"declaration": true,
// "sourceMap": true,
/* Strictness options. */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true
},
"include": ["src"],
"exclude": ["src/*.test.ts"]
}