-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
45 lines (45 loc) · 1.58 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": {
/**
* `allowSyntheticDefaultImports` is ONLY enabled because the built apollo-server and apollo-server-express require it to compile.
* It's not a good idea to rely on this. If packages don't export a default export, don't import it as if they do.
* Relying on this may break ./api/_lib/pulumi. No known pulumi-examples use allowSyntheticDefaultImports or esModuleInterop (https://github.com/pulumi/examples/)
*/
"allowSyntheticDefaultImports": true,
/**
* This must be explicitly set to false to work with now.sh because it will default it to true otherwise, contrary to typescript's own behaivor
* https://github.com/zeit/now/blob/229a62d8b6aeb1f5b19de71d4e7c8733ba9e310d/packages/now-node/src/typescript.ts#L472
*/
"esModuleInterop": false,
"outDir": "bin",
"declaration": true,
"target": "es5",
"lib": [
"dom",
"es2015.symbol",
"es2015.symbol.wellknown",
"esnext",
"esnext.asynciterable"
],
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"typeRoots": ["./api/@types"],
"downlevelIteration": true,
"baseUrl": ".",
"paths": {
"*": ["./api/@types/*"]
}
},
"include": ["api"],
"exclude": ["node_modules"],
"references": [{ "path": "./node_modules/fanout-graphql-tools" }]
}