15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
import { ManipulateType } from "dayjs"
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_APP_KEY: string
|
|
readonly VITE_API_URL: string
|
|
readonly VITE_APP_CACHE_TIME_VALUE: number
|
|
readonly VITE_APP_CACHE_TIME_UNIT: ManipulateType
|
|
// more env variables...
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
} |