-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (27 loc) · 973 Bytes
/
tsconfig.json
File metadata and controls
28 lines (27 loc) · 973 Bytes
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
{
"compilerOptions": {
"module": "commonjs",
"target": "ES6",
"allowJs": true,
"checkJs": true,
// There is an open issue with the latest version of node-fetch that cause type errors.
// Please refer to https://github.com/node-fetch/node-fetch/issues/1617 for more details.
// As a temporary workaround, we've added "DOM" to this section.
"lib": ["esnext.asynciterable", "DOM"],
"moduleResolution": "node",
"esModuleInterop": true,
"noEmit": true,
"noImplicitAny": true,
"maxNodeModuleJsDepth": 0
},
"include": [
"packages/core/src/util",
"packages/core/src/tracing/*.js",
"packages/core/src/tracing/instrumentation/protocols/captureHttpHeadersUtil.js",
"packages/shared-metrics",
"packages/collector/src"
],
// Skipping autoprofile doesn’t work because TS still type-checks imported files.
// TODO: fix in INSTA-65031
"exclude": ["node_modules", "packages/autoprofile", "**/test"]
}