Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
45 lines (45 loc) · 2.12 KB
/
Copy pathtsconfig.json
File metadata and controls
45 lines (45 loc) · 2.12 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
39
40
41
42
43
44
45
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"target": "ES2023",
"noEmit": true,
"lib": ["ES2023", "dom", "dom.iterable", "webworker"],
// TypeScript 6 defaults `strict` to true. This project has never enabled it as a whole; it opts
// into individual checks below (`strictNullChecks`, `noImplicitThis`, `alwaysStrict`).
"strict": false,
// TypeScript 6 defaults `types` to []. Host code uses Node globals (`process`, `Buffer`, timers),
// which must not depend on a dependency's `/// <reference types="node" />` to be in scope.
"types": ["node"],
"esModuleInterop": true, // added by tnaum to help with Denque integration, happy to discuss other approaches
"allowSyntheticDefaultImports": true,
"noImplicitThis": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"skipLibCheck": true,
"noUnusedParameters": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"alwaysStrict": true,
// Types only (bundlers and Vitest do not read `paths`). These packages declare types for their
// `require` export but not for their `import` export, an untyped ESM wrapper around the same
// CommonJS code, so `moduleResolution: Bundler` would type every import from them as `any`.
"paths": {
"@mongodb-js/explain-plan-helper": ["./node_modules/@mongodb-js/explain-plan-helper/dist/index.d.ts"],
"mongodb-connection-string-url": ["./node_modules/mongodb-connection-string-url/lib/index.d.ts"]
},
"jsx": "react-jsx"
},
"exclude": ["node_modules", ".vscode-test", "packages/*/dist", "packages/*/scripts"],
"references": [
{ "path": "packages/documentdb-js-schema-analyzer" },
{ "path": "packages/documentdb-js-operator-registry" },
{ "path": "packages/documentdb-js-shell-api-types" },
{ "path": "packages/documentdb-js-shell-runtime" },
{ "path": "packages/documentdb-js-srv-resolver" },
{ "path": "packages/documentdb-js-connection-diagnostics" },
{ "path": "packages/vscode-ext-webview" },
{ "path": "packages/vscode-ext-webview-fluentui" }
]
}