-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtsconfig.json
More file actions
executable file
·44 lines (44 loc) · 1.28 KB
/
tsconfig.json
File metadata and controls
executable file
·44 lines (44 loc) · 1.28 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
{
"extends": "astro/tsconfigs/strict",
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
],
"allowJs": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["es2022", "dom", "dom.iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"strict": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"useDefineForClassFields": false,
"strictPropertyInitialization": false,
"target": "ESNext",
"paths": {
"@/*": ["./src/*"],
"@/assets/*": ["src/assets/*"],
"@/components/*": ["src/components/*"],
"@/layouts/*": ["src/layouts/*.astro"],
"@/utils/*": ["src/utils/*"],
"@/hooks/*": ["src/hooks/*"],
"@/types": ["src/types/index.ts"],
"@/mocks/*": ["src/mocks/*"],
"@/site-config": ["src/site.config.ts"]
},
"verbatimModuleSyntax": true
},
"include": ["src", "*.ts", "*.tsx"],
"exclude": ["node_modules", "**/node_modules/*", ".vscode", "dist", ".eslintrc.mjs"]
}