-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtsconfig.json
34 lines (34 loc) · 1012 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
34
{
// This is all a bit fiddly. These options are consumed by and determine the behaviour of:
// - Your IDE / editor
// - npm run test (thanks to ts-jest plugin)
// - npm run docs (to get type defs for typedoc)
// - npm run build
// - To build to plain JS for rollup (in combination with overrides in rollup.config.js)
// - To output the index.d.ts (in combination with overrides in tsconfig.build.json)
"include": [
"src/**/*.ts",
"__tests__/**/*.ts"
],
"compilerOptions": {
"target": "ES2019",
"module": "ES2015",
"lib": [
"ES2019",
"DOM"
],
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
}
}