fix: vite-env

This commit is contained in:
手瓜一十雪 committed 2024-05-26 20:38:18 +08:00
1 parent 6250b3c09c
commit 73816da635
2 files changed
+14 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}