forked from estuary/flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (38 loc) · 1.17 KB
/
tsconfig.json
File metadata and controls
38 lines (38 loc) · 1.17 KB
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
{
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"lib": [
"ES2019",
// DOM is added here only to provide the `AbortController` types, which are
// used by other nodejs types. This fix was taken from
// (https://stackoverflow.com/a/59893096) to fix the Typescript compilation
// issue described in estuary/flow#279
"DOM"
],
"module": "commonjs",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"pretty": true,
"sourceMap": true,
"strict": true,
"target": "ES2019",
"rootDir": ".",
"outDir": "dist",
// Any non-relative modules are resolved against this base directory.
"baseUrl": ".",
"paths": {
// As a bit of sugar, resolve flow/modules to flow_generated/flow/*.
// This is a types-only module, and doesn't require runtime loading.
// Otherwise, a tool like `tspath` must be used to re-write absolute
// imports in TypeScript code into relative imports in produced JavaScript.
"flow/modules": [
"flow_generated/flow/modules"
]
}
},
"extends": "./flow_generated/tsconfig-files"
}