mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Notify: type definition (#2210)
This commit is contained in:
parent
39dd775083
commit
cd6d46c924
1
types/notify.d.ts
vendored
1
types/notify.d.ts
vendored
@ -19,6 +19,7 @@ export interface VanNotify extends Vue {
|
|||||||
export interface Notify {
|
export interface Notify {
|
||||||
(message: NotifyOptions | NotifyMessage): VanNotify;
|
(message: NotifyOptions | NotifyMessage): VanNotify;
|
||||||
clear(): void;
|
clear(): void;
|
||||||
|
install(): void;
|
||||||
setDefaultOptions(options: NotifyOptions): void;
|
setDefaultOptions(options: NotifyOptions): void;
|
||||||
resetDefaultOptions(): void;
|
resetDefaultOptions(): void;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user