global.d.ts 472 B

12345678910111213141516171819202122
  1. import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
  2. import 'vue-router';
  3. declare module 'vue-router' {
  4. // eslint-disable-next-line @typescript-eslint/no-empty-object-type
  5. interface RouteMeta extends IRouteMeta {}
  6. }
  7. export interface VbenAdminProAppConfigRaw {
  8. VITE_GLOB_API_URL: string;
  9. }
  10. export interface ApplicationConfig {
  11. apiURL: string;
  12. }
  13. declare global {
  14. interface Window {
  15. _VBEN_ADMIN_PRO_APP_CONF_: VbenAdminProAppConfigRaw;
  16. }
  17. }