-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.base.json
76 lines (68 loc) · 1.99 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// https://www.typescriptlang.org/tsconfig
{
"compilerOptions": {
/* Basic Options */
"incremental": true,
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true, // temporary for fix import json issue
"lib": ["ESNext", "DOM", "DOM.Iterable"],
// "allowJs": true,
// "checkJs": true,
// "jsx": "preserve",
"declaration": true,
"declarationMap": true,
// "outFile": "./",
"outDir": "./",
// "rootDir": "./src",
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
"removeComments": false,
// "noEmit": true,
// "importHelpers": true,
// "downlevelIteration": true,
"isolatedModules": true, // need for esbuild
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
// "noUncheckedIndexedAccess": true,
// "noPropertyAccessFromIndexSignature": true,
/* Module Resolution Options */
// "paths": {},
// "rootDirs": [],
// "typeRoots": [],
// "types": [],
"allowSyntheticDefaultImports": true,
// "esModuleInterop": true,
// "preserveSymlinks": true,
// "allowUmdGlobalAccess": true,
/* Source Map Options */
"sourceMap": true,
// "sourceRoot": "",
// "mapRoot": "",
// "inlineSourceMap": true,
"inlineSources": true,
/* Experimental Options */
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
/* Advanced Options */
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": false,
"listEmittedFiles": true
// "diagnostics": true,
}
}