Skip to content

Commit 5e5ac6e

Browse files
committed
TS config
1 parent b81c142 commit 5e5ac6e

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dist
1212
dist-ssr
1313
*.local
1414
!Dockerfile.local
15+
components.d.ts
1516

1617
# Editor directories and files
1718
.vscode/*

tsconfig.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"allowImportingTsExtensions": true,
5+
"module": "ESNext",
6+
"moduleResolution": "bundler",
7+
"jsx": "preserve",
8+
"strict": true,
9+
"isolatedModules": true,
10+
"target": "ESNext",
11+
"esModuleInterop": true,
12+
"forceConsistentCasingInFileNames": true,
13+
"noEmit": true,
14+
"skipLibCheck": true,
15+
"baseUrl": ".",
16+
"paths": {
17+
"@/*": [
18+
"./src/*"
19+
]
20+
},
21+
"types": [
22+
"vite/client",
23+
"vue"
24+
],
25+
"lib": [
26+
"ESNext",
27+
"DOM",
28+
"DOM.Iterable"
29+
]
30+
},
31+
"include": [
32+
"src/**/*.ts",
33+
"src/**/*.d.ts",
34+
"src/**/*.tsx",
35+
"src/**/*.vue"
36+
],
37+
"exclude": [
38+
"node_modules",
39+
"dist"
40+
]
41+
}

0 commit comments

Comments
 (0)