global.d.ts 555 B

12345678910111213141516171819202122232425
  1. import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
  2. import 'vue-router';
  3. declare module 'vue-router' {
  4. interface RouteMeta extends IRouteMeta {}
  5. }
  6. declare global {
  7. // interface Window {
  8. const __VBEN_ADMIN_METADATA__: {
  9. authorEmail: string;
  10. authorName: string;
  11. authorUrl: string;
  12. buildTime: string;
  13. dependencies: Record<string, string>;
  14. description: string;
  15. devDependencies: Record<string, string>;
  16. homepage: string;
  17. license: string;
  18. repositoryUrl: string;
  19. version: string;
  20. };
  21. // }
  22. }