-
Notifications
You must be signed in to change notification settings - Fork 492
/
tsconfig.json
80 lines (80 loc) · 1.93 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"strict": true,
"skipLibCheck": true,
"alwaysStrict": true,
"esModuleInterop": true,
"stripInternal": true,
"resolveJsonModule": true,
"preserveConstEnums": true,
"removeComments": false,
"target": "ES2019",
"moduleResolution": "node",
"lib": [
"ES2019",
"ES2020.Promise",
"ES2020.String",
"ES2020.BigInt",
"DOM",
"DOM.Iterable"
],
"noEmitOnError": false,
"noEmit": true,
"emitDeclarationOnly": false,
"declaration": true,
"declarationMap": true,
"incremental": true,
"composite": true,
"types": [
"node"
],
"typeRoots": [
"@types"
],
"allowSyntheticDefaultImports": true,
"isolatedModules": true,
"jsx": "react-jsx",
"baseUrl": ".",
"module": "esnext"
},
"exclude": [
"./src/test",
"src/**/*.test.js",
],
"include": [
"**/*.ts",
"@types",
// "src/**/*.js", // TODO: Include all js files when typecheck passes
"src/bundles/files/**/*.js",
"src/bundles/analytics.js",
"src/bundles/config-save.js",
"src/bundles/connected.js",
"src/lib/enum.js",
"src/bundles/experiments.js",
"src/bundles/ipfs-desktop.js",
"src/bundles/ipfs-provider.js",
"src/bundles/retry-init.js",
"src/bundles/retry-init.js",
"src/bundles/local-storage.js",
"src/bundles/task.js",
"src/lib/count-dirs.js",
"src/lib/sort.js",
"src/lib/files.js",
"src/env.js",
"src/lib/hofs/**/*.js",
"src/lib/guards.js",
]
}