This commit is contained in:
landaiqing
2024-04-12 20:14:27 +08:00
commit 18d15ddd17
28 changed files with 4136 additions and 0 deletions

15
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
/// <reference types="vite/client" />
declare interface ImportMetaEnv {
readonly VITE_APP_BASE_API: string
readonly VITE_APP_TITLE: string
readonly VITE_API_BASE_URL: string
readonly VITE_NODE_ENV: string
readonly VITE_TITLE_NAME: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
declare module '*.tsx'