初始化
This commit is contained in:
17
src/typings/global.d.ts
vendored
Normal file
17
src/typings/global.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
export {};
|
||||
|
||||
declare global {
|
||||
export interface Window {
|
||||
/** NProgress instance */
|
||||
NProgress?: import('nprogress').NProgress;
|
||||
/** MessageBox instance */
|
||||
$messageBox?: import('element-plus').IElMessageBox;
|
||||
/** Message instance */
|
||||
$message?: import('element-plus').Message;
|
||||
/** Notification instance */
|
||||
$notification?: import('element-plus').Notify;
|
||||
}
|
||||
|
||||
/** Build time of the project */
|
||||
export const BUILD_TIME: string;
|
||||
}
|
||||
Reference in New Issue
Block a user