-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.json
33 lines (31 loc) · 1016 Bytes
/
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
{
"compilerOptions": {
// Let Babel deal with transpiling new language features
"target": "ES6",
// These are overridden by the Rollup plugin, but are left here in case you
// run `tsc` directly for typechecking or debugging purposes
"outDir": "./dist",
"declaration": true,
"declarationDir": "types",
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"allowJs": false,
"removeComments": false,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
// Turn on additional typechecking flags
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noImplicitAny": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true,
},
"include": ["src", "types/index.d.ts", "types/shared.d.ts"]
}