kindergarten_java/reading-platform-frontend/src/vite-env.d.ts

12 lines
234 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL: string
readonly VITE_SERVER_BASE_URL: string
// 添加更多环境变量类型...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}