forked from InspectorHub/OpenInspection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
48 lines (48 loc) · 1.72 KB
/
Copy pathtsconfig.json
File metadata and controls
48 lines (48 loc) · 1.72 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
46
47
48
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"jsx": "react-jsx",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["vite/client", "@cloudflare/workers-types"],
"paths": {
"~/*": ["./app/*"],
"@core/shared-ui": ["./packages/shared-ui/src/index.ts"]
},
"rootDirs": [".", "./.react-router/types"],
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo.app"
},
"include": [
".react-router/types/**/*",
"app/**/*.ts",
"app/**/*.tsx",
"workers/**/*.ts",
"vite.config.ts",
// The worker entry's `typeof import("../server/index")` pulls the server
// graph into this program too, so server-side ambient declarations the
// graph relies on must be visible here (they live under the api config's
// server/** include).
"server/types/qrcode-internals.d.ts",
// Needed so the global `Env` type (declared here as `interface Env extends Cloudflare.Env {}`)
// is visible when the worker entry re-exports DOs that use it (e.g. InspectorMcp
// extends McpAgent<Env>). McpAgent constrains its Env param to `extends Cloudflare.Env`,
// and only the global `Env` satisfies that after Cloudflare.Env is augmented by this file.
"worker-configuration.d.ts"
],
"exclude": [
"node_modules",
"build",
"dist",
// Co-located frontend tests (tests-reorg R2) — no vitest/@testing-library
// types in this tsc program; keep them out of the app tsc pass (they were
// never type-checked pre-move, when they lived under tests/web/unit/).
"app/**/*.test.ts",
"app/**/*.test.tsx"
]
}