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

22 lines
402 B
TypeScript
Raw Normal View History

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