-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathtsconfig-base.json
More file actions
28 lines (28 loc) · 2.52 KB
/
Copy pathtsconfig-base.json
File metadata and controls
28 lines (28 loc) · 2.52 KB
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
{
"compilerOptions": {
"target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "Node16", /* Specify module code generation. */
"moduleResolution": "Node16", /* Specify module resolution strategy. */
"lib": ["es2020", "es2021.WeakRef"], /* Specify library files to be included in the compilation: */
"types": ["node", "jest"], /* Type declaration files to be included in compilation. */
"strict": true, /* Enable all strict type-checking options. */
"strictPropertyInitialization": true, /* Require all properties be initialized in the constructor. */
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationMap": true, /* Generates declaration map '.d.ts.map' file. */
"esModuleInterop": true, /* Turn on babel and typesystem compatibility with ES modules */
"sourceMap": true, /* Generates source file .js.map file. */
"inlineSourceMap": false, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": false, /* Emit the source alongside the sourcemaps within a single file. */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitAny": true, /* Report error on expressions and declarations with an implied any type. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
"resolveJsonModule": true, /* Include modules imported with .json extension. */
"composite": true, /* Ensure TypeScript can determine where to find the outputs of the referenced project to compile project. */
"incremental": true, /* Enable incremental compilation by reading/writing information from prior compilations to a file on disk. */
"useDefineForClassFields": false, /* Use Object.defineProperty for introducing class fields. */
"skipLibCheck": true, /* Skip type checking of declaration files. */
}
}