initial commit
This commit is contained in:
16
src/window.d.ts
vendored
Normal file
16
src/window.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { DialogApiInjection } from 'naive-ui/es/dialog/src/DialogProvider';
|
||||
import { LoadingBarApiInjection } from 'naive-ui/es/loading-bar/src/LoadingBarProvider';
|
||||
import { MessageApiInjection } from 'naive-ui/es/message/src/MessageProvider';
|
||||
import { NotificationApiInjection } from 'naive-ui/es/notification/src/NotificationProvider';
|
||||
|
||||
import type { NdmLogger } from '@/utils/ndmLogger';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
$dialog: DialogApiInjection;
|
||||
$loadingBar: LoadingBarApiInjection;
|
||||
$message: MessageApiInjection;
|
||||
$notification: NotificationApiInjection;
|
||||
$ndmLogger: NdmLogger;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user