-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
55 lines (55 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
51
52
53
54
55
{
"compilerOptions": {
"target": "ES2022",
"removeComments": true,
// Allow JavaScript files to be compiled
// "allowJs": false,
// // Report errors in .js files
// "checkJs": false,
// // Emit a single file with source maps instead of having a separate file
// "inlineSourceMap": false,
// // Emit the source alongside the sourcemaps within a single file
// "inlineSources": false,
// // Generates corresponding .d.ts file
// "declaration": false,
// // Specify output directory for generated declaration files
// "declarationDir": null,
// // Generates a source map for each corresponding .d.ts file
// "declarationMap": false,
// // Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files
// "emitBOM": false,
// // Only emit '.d.ts' declaration files
// "emitDeclarationOnly": false,
// // Emit design-type metadata for decorated declarations in source
// "emitDecoratorMetadata": false,
// // Enable experimental support for ES decorators
// "experimentalDecorators": false,
// // Import emit helpers (e.g. '__extends', '__rest', etc..) from tslib
// "importHelpers": false,
// Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)
// "moduleResolution": null,
// Do not generate custom helper functions like __extends in compiled output
// "module": "commonjs",
// Enable all strict type checking options
"strict": true,
// Raise an error on expressions and declarations with an inferred type of any
"noImplicitAny": true,
// Raise an error on this expressions with an inferred type of any
"noImplicitThis": true,
// Parse in strict mode and emit "use strict" for each source file
"alwaysStrict": true,
// Enable stricter checking of the bind, call, and apply methods on functions
"strictBindCallApply": true,
// Enable stricter checking of null and undefined values
"strictNullChecks": true,
// Enable stricter checking of function types for the purposes of assignability
"strictFunctionTypes": true,
// Ensure non-undefined class properties are initialized in the constructor
"strictPropertyInitialization": true,
// Report an error when not all code paths in function return a value
"noImplicitReturns": true,
// Report errors for fallthrough cases in switch statement
"noFallthroughCasesInSwitch": true
// "esModuleInterop": true
}
}