-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (42 loc) · 1.18 KB
/
tsconfig.json
File metadata and controls
42 lines (42 loc) · 1.18 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
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": ["@cloudflare/workers-types"],
"jsx": "react-jsx",
"strict": true,
"jsxImportSource": "preact",
"verbatimModuleSyntax": true,
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@layouts/*": ["src/layouts/*"]
},
"allowSyntheticDefaultImports": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"esModuleInterop": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"moduleResolution": "bundler",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"useDefineForClassFields": true
},
"exclude": ["api/functions/**/*", "dist/**", "api/dist/**", "functions"],
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
]
}