17 lines
617 B
TypeScript
17 lines
617 B
TypeScript
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;
|
|
}
|
|
}
|