-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
45 lines (39 loc) · 1.73 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
{
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"declarationDir": "dist",
"allowJs": true,
"target": "es5",
"lib": ["esnext", "dom"],
"esModuleInterop": true,
"sourceRoot": "/",
"moduleResolution": "node",
"skipLibCheck": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"rootDir": "./",
/* ------ Our additional configuration ------ */
/* Basic Options */
"strict": true /* Enable all strict type-checking options. */,
"removeComments": false /* Do not emit comments to output. Must be false so jsdocs works */,
/* Strict Type-Checking Options */
"noImplicitReturns": true,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"strictNullChecks": true /* Enable strict null checks. */,
"strictFunctionTypes": true /* Enable strict checking of function types. */,
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
/* Module Resolution Options */
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
/* Additional Checks */
"noUnusedLocals": false /* Report errors on unused locals. */,
"noUnusedParameters": false /* Report errors on unused parameters. */,
"preserveConstEnums": true,
/* Source Map Options */
"sourceMap": true /* Generates corresponding '.map' file. */
},
"exclude": ["dist", "node_modules", "build"],
"include": ["./src/**/*", "./tests/**/*"]
}