41 lines
975 B
TypeScript
41 lines
975 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;
|
|
}
|
|
|
|
declare module '@/api/organization' {
|
|
export function createOrganizationApi(module: string): any;
|
|
export const erpOrganizationApi: any;
|
|
export const oaOrganizationApi: any;
|
|
const api: any;
|
|
export default api;
|
|
}
|
|
|
|
declare module '@/stores/auth' {
|
|
export function useAuthStore(): any;
|
|
}
|
|
|
|
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;
|
|
}
|