-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathtsconfig.json
More file actions
63 lines (59 loc) · 2.13 KB
/
Copy pathtsconfig.json
File metadata and controls
63 lines (59 loc) · 2.13 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
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
/* Visit https://aka.ms/tsconfig.json to read more about this file */
{
"compilerOptions": {
/* Basic Options */
// Specify ECMAScript target version
"target": "ES2020",
// Specify module code generation, implies "esModuleInterop=true" and "allowSyntheticDefaultImports=true"
"module": "NodeNext",
// Specify library files to be included in the compilation.
"lib": [
"ES2020",
"DOM"
],
"types": ["node"],
// Generates corresponding '.d.ts' file.
"declaration": true,
// Generates a sourcemap for each corresponding '.d.ts' file.
"declarationMap": true,
// Generates corresponding '.map' file.
"sourceMap": true,
// Enable project compilation
"composite": true,
/* Strict Type-Checking Options */
// Enable all strict type-checking options.
"strict": true,
// Enable strict checking of property initialization in classes.
"strictPropertyInitialization": false,
/* Additional Checks */
// Report errors on unused locals.
"noUnusedLocals": true,
// Report error when not all code paths in function return a value.
"noImplicitReturns": true,
// Report error when a method is overridden without the `override` keyword.
"noImplicitOverride": true,
/* Module Resolution Options */
// Specify module resolution strategy
"moduleResolution": "nodenext",
// Allows importing modules with a .json extension, which is a common practice in node projects.
"resolveJsonModule": true,
/* Advanced Options */
// Disallow inconsistently-cased references to the same file.
"forceConsistentCasingInFileNames": true,
// Skip type checking of declaration files.
"skipLibCheck": true,
// This setting controls how TypeScript determines whether a file is a script or a module.
"moduleDetection": "force",
// any imports or exports without a type modifier are left around. Anything that uses the type modifier is dropped entirely.
"verbatimModuleSyntax": true
},
"include": [
"**/src/**/*",
"**/test/**/*"
],
"exclude": [
"**/lib/**/*",
"**/out/**/*",
"**/node_modules/**/*"
]
}