-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
57 lines (57 loc) · 1.63 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
56
57
{
"include": [],
"exclude": [],
"references": [
{ "path": "packages/grpc-client" },
{ "path": "packages/grpc-server" },
{ "path": "packages/http-client" },
{ "path": "packages/http-server" },
{ "path": "packages/main-node" },
{ "path": "packages/worker-node" }
],
"compilerOptions": {
// Type Checking
"alwaysStrict": true,
"exactOptionalPropertyTypes": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
// Modules
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true, // Resolve JSON Module
// Emits
"declaration": true,
"importsNotUsedAsValues": "remove",
"newLine": "lf",
"noEmit": true, // No Emit
"preserveConstEnums": true,
// JavaScript Support
"allowJs": true, // Allow JS
"checkJs": true, // Check JS
// Interop Constraints
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true, // Isolated Modules
// Language and Environment
"jsx": "react-jsx", // JSX
"lib": ["dom", "dom.iterable", "esnext", "webworker"], // Lib
"target": "esnext",
"useDefineForClassFields": true,
// Compiler Diagnostics
"generateCpuProfile": "profile.cpuprofile",
// Projects
"incremental": true,
"composite": true, // Composite
// Output Formatting
"pretty": true,
// Completeness
"skipLibCheck": true
}
}