mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 14:39:16 +08:00
[bugfix] Toast: missing clear method type definition (#2354)
This commit is contained in:
parent
d9597f2a8d
commit
b6790888d2
1
types/toast.d.ts
vendored
1
types/toast.d.ts
vendored
@ -19,6 +19,7 @@ export interface VanToast extends Vue, VanPopupMixin {
|
|||||||
loadingType: string;
|
loadingType: string;
|
||||||
forbidClick: boolean;
|
forbidClick: boolean;
|
||||||
message: ToastMessage;
|
message: ToastMessage;
|
||||||
|
clear(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Toast {
|
export interface Toast {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user