改为typescript支持

This commit is contained in:
2024-12-11 15:32:20 +08:00
parent 72e3d1b756
commit 812a642aaa
13 changed files with 477 additions and 245 deletions

14
tsconfig.node.json Normal file
View File

@@ -0,0 +1,14 @@
{
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
"lib": [
"ES2020"
]
},
"include": [
"vite.config.ts"
]
}