mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
types(Toast): incorrect definition of 'setDefaultOptions' method (#5582)
This commit is contained in:
parent
67e2a2759c
commit
12535588ab
2
types/toast.d.ts
vendored
2
types/toast.d.ts
vendored
@ -41,7 +41,7 @@ export interface Toast {
|
||||
fail(options?: ToastOptions | ToastMessage): VanToast;
|
||||
clear(all?: boolean): void;
|
||||
install(): void;
|
||||
setDefaultOptions(options: string | ToastOptions): void;
|
||||
setDefaultOptions(type: ToastType | ToastOptions, options?: ToastOptions): void;
|
||||
resetDefaultOptions(options?: string): void;
|
||||
allowMultiple(allow: boolean): void;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user