chore: fix Message type (#3212)

pull/3224/head
ajuner 4 years ago committed by GitHub
parent 7518096983
commit 35f509aea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ import CheckCircleFilled from '@ant-design/icons-vue/CheckCircleFilled';
import InfoCircleFilled from '@ant-design/icons-vue/InfoCircleFilled';
let defaultDuration = 3;
let defaultTop: number;
let defaultTop: string;
let messageInstance: any;
let key = 1;
let prefixCls = 'ant-message';
@ -123,7 +123,7 @@ function isArgsProps(content: JointContent): content is ArgsProps {
}
export interface ConfigOptions {
top?: number;
top?: string;
duration?: number;
prefixCls?: string;
getContainer?: () => HTMLElement;

Loading…
Cancel
Save