athis-ui/packages/types/global.d.ts

23 lines
472 B
TypeScript
Raw Normal View History

2024-11-06 10:35:56 +08:00
import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
import 'vue-router';
declare module 'vue-router' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface RouteMeta extends IRouteMeta {}
}
export interface VbenAdminProAppConfigRaw {
VITE_GLOB_API_URL: string;
}
export interface ApplicationConfig {
apiURL: string;
}
declare global {
interface Window {
_VBEN_ADMIN_PRO_APP_CONF_: VbenAdminProAppConfigRaw;
}
}