admin-vben5/packages/types/global.d.ts

22 lines
402 B
TypeScript
Raw Normal View History

2024-06-02 15:04:37 +08:00
import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
2024-05-19 21:20:42 +08:00
2024-06-08 19:49:06 +08:00
import 'vue-router';
2024-06-02 15:04:37 +08:00
declare module 'vue-router' {
interface RouteMeta extends IRouteMeta {}
2024-05-19 21:20:42 +08:00
}
export interface VbenAdminProAppConfigRaw {
VITE_GLOB_API_URL: string;
}
export interface ApplicationConfig {
apiURL: string;
}
declare global {
interface Window {
_VBEN_ADMIN_PRO_APP_CONF_: VbenAdminProAppConfigRaw;
}
}