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

26 lines
555 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
}
declare global {
// interface Window {
const __VBEN_ADMIN_METADATA__: {
authorEmail: string;
authorName: string;
authorUrl: string;
buildTime: string;
dependencies: Record<string, string>;
description: string;
devDependencies: Record<string, string>;
homepage: string;
license: string;
repositoryUrl: string;
version: string;
};
// }
}