-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 1009 Bytes
/
Copy pathtsconfig.json
File metadata and controls
32 lines (32 loc) · 1009 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
29
30
31
32
{
// Worker types come from `worker-configuration.d.ts` (generated by
// `wrangler types`). Node types are disabled via `types: []` so the
// Worker runtime globals (R2Bucket, Ai, DurableObject, crypto, etc.)
// are the only ambient declarations in scope — this prevents silent
// leaks of Node-only APIs into Worker code.
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2022"],
"types": [],
"strict": true,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*", "test/**/*", "*.ts", "worker-configuration.d.ts", "test/test-types.d.ts"],
"exclude": ["node_modules", "dist", "scripts"]
}