-
Notifications
You must be signed in to change notification settings - Fork 231
/
tsconfig.json
49 lines (49 loc) · 1.42 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
{
"include": [
"__tests__/**/*.ts",
"__tests__/**/*.tsx",
"docs/**/*.ts",
"docs/**/*.tsx",
"examples/**/*.ts",
"examples/**/*.tsx",
"src/**/*.ts",
"src/**/*.tsx",
],
"compilerOptions": {
"baseUrl": ".",
"allowJs": false,
"strict": true,
"allowSyntheticDefaultImports": true,
"declaration": true,
"emitDeclarationOnly": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"downlevelIteration": true,
"importHelpers": true,
"jsx": "react",
"moduleResolution": "bundler",
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"sourceMap": true,
"skipLibCheck": true,
// Disallow features that require cross-file information for emit
"isolatedModules": true,
// We default to targetting es2019 so that IDE's will perform the stricter checks that they do
// for es2019 (reason is unkown for why targeting es2019 is stricter...)
"target": "es2019",
"module": "esnext",
"lib": [
"dom",
"dom.iterable",
"es5",
"scripthost",
"es2015.core",
"es2015.collection",
"es2015.symbol",
"es2015.iterable",
"es2015.promise",
"es2016.array.include",
"es2017"
]
},
}