-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.base.json
33 lines (33 loc) · 1.37 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
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"outDir": "out",
"lib": [
"es2021",
"DOM"
],
"rootDir": ".",
"sourceMap": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
/* Strict Type-Checking Option */
"strict": true, /* enable all strict type-checking options */
/* Additional Checks */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"alwaysStrict": true, /* Ensure that all files emit "use strict" */
"strictBindCallApply": true, /* Enable type checks for call/bind/apply */
"strictFunctionTypes": true, /* Stricter type checks for function parameters */
"noImplicitOverride": true, /* Force use of 'override' keyword */
"noPropertyAccessFromIndexSignature": true, /* Report errors when accessing nonexistent fields */
"noUncheckedIndexedAccess": true, /* Add 'undefined' to the type returned from indexed accesses */
"isolatedModules": true, /* Recommended when using bundlers */
},
"exclude": [
"out/**/*",
"node_modules",
".vscode-test"
]
}