ruoyi-plus-vben5/packages/types/global.d.ts

26 lines
555 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
}
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;
};
// }
}