FlowPacs/yudao-ui-admin-vue3/types/env.d.ts

34 lines
952 B
TypeScript
Raw Normal View History

2022-07-18 19:06:37 +08:00
/// <reference types="vite/client" />
declare module '*.vue' {
import { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>
export default component
}
interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
2022-07-19 23:03:10 +08:00
readonly VITE_PORT: number
2022-12-20 16:05:16 +08:00
readonly VITE_OPEN: string
readonly VITE_DEV: boolean
2022-12-20 16:05:16 +08:00
readonly VITE_ROUTE_ALWAYSSHOW_ENABLE: string
readonly VITE_APP_CAPTCHA_ENABLE: string
readonly VITE_APP_TENANT_ENABLE: string
2022-07-19 23:03:10 +08:00
readonly VITE_BASE_URL: string
readonly VITE_UPLOAD_URL: string
2022-07-18 19:06:37 +08:00
readonly VITE_API_BASEPATH: string
2022-07-19 23:03:10 +08:00
readonly VITE_API_URL: string
2022-07-18 19:06:37 +08:00
readonly VITE_BASE_PATH: string
readonly VITE_DROP_DEBUGGER: string
readonly VITE_DROP_CONSOLE: string
readonly VITE_SOURCEMAP: string
readonly VITE_OUT_DIR: string
}
declare global {
interface ImportMeta {
readonly env: ImportMetaEnv
}
}