[bugfix] Toast: missing clear method type definition (#2354)

This commit is contained in:
neverland 2018-12-21 22:10:36 +08:00 committed by GitHub
parent d9597f2a8d
commit b6790888d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
types/toast.d.ts vendored
View File

@ -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 {