fix(type): fix ant-design-vue -> (#1043)

This commit is contained in:
CXM 2021-08-08 10:16:37 +08:00 committed by GitHub
parent b2d49cbbf8
commit 6d5388aaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,17 +3,17 @@ import type { ModalFunc, ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
import { Modal, message as Message, notification } from 'ant-design-vue';
import { InfoCircleFilled, CheckCircleFilled, CloseCircleFilled } from '@ant-design/icons-vue';
import { ArgsProps, ConfigProps } from 'ant-design-vue/lib/notification';
import { NotificationArgsProps, ConfigProps } from 'ant-design-vue/lib/notification';
import { useI18n } from './useI18n';
import { isString } from '/@/utils/is';
export interface NotifyApi {
info(config: ArgsProps): void;
success(config: ArgsProps): void;
error(config: ArgsProps): void;
warn(config: ArgsProps): void;
warning(config: ArgsProps): void;
open(args: ArgsProps): void;
info(config: NotificationArgsProps): void;
success(config: NotificationArgsProps): void;
error(config: NotificationArgsProps): void;
warn(config: NotificationArgsProps): void;
warning(config: NotificationArgsProps): void;
open(args: NotificationArgsProps): void;
close(key: String): void;
config(options: ConfigProps): void;
destroy(): void;