-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
38 lines (37 loc) · 1 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
{
"compilerOptions": {
"target": "ESNext",
"module": "umd",
"lib": [
"ESNext",
"dom"
],
"jsx": "react",
"allowJs": true,
// Ensure that .d.ts files are created by tsc, but not .js files
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "dist",
// go to ts/js file when using IDE functions like
// "Go to Definition" in VSCode
"declarationMap": true,
// Ensure that Babel can safely transpile files in the TypeScript project
"isolatedModules": true,
"sourceMap": true,
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": false, // false prevents issues in dependencies; eslint will handle this
"strictNullChecks": true,
/* Module Resolution Options */
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"types": [
"node",
"jest",
"jest-puppeteer",
]
},
"include": ["./src/**/*"],
"exclude": ["**/node_modules/*"]
}