-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (38 loc) · 1.17 KB
/
Copy pathtsconfig.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": {
"target": "ES2024",
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@client/*": ["./src/client/*"],
"@server/*": ["./src/server/*"],
"@shared/*": ["./src/shared/*"],
"@/*": ["./src/client/*"]
},
"jsx": "react-jsx",
"strict": true,
"noEmit": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true,
// Makes `import type` mandatory for type-only imports rather than a convention. Without it a
// refactor that moves a symbol between files can silently emit a runtime import of a type -- dead
// weight in a Worker bundle, and invisible: no error, and there is no lint rule covering it.
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["vite/client", "node", "vitest/globals"]
},
"include": [
"worker-configuration.d.ts",
"src/server/worker-env.d.ts",
"vite.config.ts",
"vitest.config.ts",
"src/**/*.ts",
"src/**/*.tsx",
"test/**/*.ts",
"test/**/*.tsx"
]
}