mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
25 lines
632 B
TypeScript
25 lines
632 B
TypeScript
/// <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
|
|
readonly VITE_API_BASEPATH: string
|
|
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
|
|
}
|
|
}
|