-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
31 lines (31 loc) · 966 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
{
"compilerOptions": {
"module": "commonjs",
"removeComments": true,
"sourceMap": true,
"target": "es6", // NodeJs v8.9.3 supports most of the "es6" features
"pretty": true,
"declaration": true,
"outDir": "dist", // "./build",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typeRoots": ["types"],
"types": ["reflect-metadata", "node"],
"moduleResolution": "node",
"noImplicitReturns": true,
// "allowJs": true,
"suppressImplicitAnyIndexErrors": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true // do not use `import * as service from '...'`, you must use `import service from '...'`
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"**/node_modules/*",
"**/*.spec.ts",
"**/__tests__/*"
],
"compileOnSave": false
}