Files
yunzerwebsiteallinone/platform/src/env.d.ts
T
2026-06-03 10:09:03 +08:00

29 lines
638 B
TypeScript

/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue';
const component: DefineComponent<{}, {}, any>;
export default component;
}
declare module '@/*' {
import type { ComponentOptions } from 'vue';
const component: ComponentOptions;
export default component;
}
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
// 添加其他环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare module 'vue-cropper' {
import { DefineComponent } from 'vue';
const VueCropper: DefineComponent<{}, {}, any>;
export default VueCropper;
}