-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
29 lines (29 loc) · 1.22 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
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"lib": ["es2021", "DOM"],
"outDir": "dist",
"declaration": true,
"sourceMap": 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 */
},
"include": [
"src/**/*",
],
"exclude": [
"dist/**/*",
]
}