-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
50 lines (49 loc) · 2.44 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
49
50
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "ESNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"lib": [
"DOM",
"ES2020"
], /* Specify library files to be included in the compilation. Usually NOT NECESSARY because these defaults are set by ES2020 "target" */
/*
"lib": [
"DOM",
"ES2020",
"DOM.Iterable",
"ScriptHost"
],
*/
//"checkJs": true, // Report errors in .js files.
//"allowJs": true, // Allow javascript files to be compiled.
"sourceMap": false, // Generates corresponding '.map' file.
// "outFile": "./", // Concatenate and emit output to single file.
// "outDir": "./", // Redirect output structure to the directory.
"rootDir": "src", // Specify the root directory of input files. Use to control the output directory structure with --outDir.
"outDir": "dist",
// "composite": true, // Enable project compilation
"removeComments": true, // Do not emit comments to output.
"noEmitOnError": true, // don't compile when errors found
"strict": true, // Enable all strict type-checking options.
"exactOptionalPropertyTypes": true, // Recommended and new in TS 4.4
"noImplicitReturns": true, // Report error when not all code paths in function return a value.
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
//"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
"baseUrl": ".", /* MUST be specified if "paths" is! Base directory to resolve non-absolute module names. */
/* See also https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping */
/* Advanced Options */
"skipLibCheck": true, // Skip type checking of declaration files.
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"watch": false // Run in watch mode (same as on command line: tsc -w)
},
"exclude": [
"dist/"
//"_*.ts"
//"node_modules/" // Probably a built-in default setting
] /* ,
"include": [],
//"files": []
*/
}