fix: Typecheck and loop dependency problem repair

This commit is contained in:
vince
2024-07-05 11:12:38 +08:00
parent fa781633b5
commit 527023ae51
21 changed files with 462 additions and 750 deletions

View File

@@ -5,3 +5,21 @@ import 'vue-router';
declare module 'vue-router' {
interface RouteMeta extends IRouteMeta {}
}
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;
};
// }
}

View File

@@ -28,9 +28,6 @@
},
"./global": {
"types": "./global.d.ts"
},
"./window": {
"types": "./window.d.ts"
}
},
"publishConfig": {

View File

@@ -1,19 +0,0 @@
export {};
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;
};
// }
}