-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (34 loc) · 1.05 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
{
"compilerOptions": {
"baseUrl": "./src",
"target": "es2018",
"module": "commonjs",
"lib": ["es2018", "dom", "esnext", "esnext.asynciterable"], // Last item for apollo
"sourceMap": true,
"outDir": "./dist",
"moduleResolution": "node",
"declaration": false,
"composite": false,
"removeComments": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true, // Allows removal of import * as
"esModuleInterop": true, // Allows removal of import * as
"emitDecoratorMetadata": true, // For type-graphql
"experimentalDecorators": true, // For type-graphql
"skipLibCheck": true
},
"exclude": ["node_modules"],
"include": ["./src/**/*.ts", "./prisma/**/*.ts"],
"ts-node": {
"files": true,
"require": ["tsconfig-paths/register"]
},
"files": ["src/environment.d.ts"]
}