mirror of
https://github.com/youzan/vant.git
synced 2026-04-04 02:00:25 +08:00
feat(Notify): support component call (#6453)
This commit is contained in:
2
types/notify.d.ts
vendored
2
types/notify.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
import Vue from 'vue';
|
||||
import { VanComponent } from './component';
|
||||
|
||||
export type NotifyMessage = string | number;
|
||||
|
||||
@@ -30,6 +31,7 @@ export interface Notify {
|
||||
defaultOptions: NotifyOptions;
|
||||
setDefaultOptions(options: NotifyOptions): void;
|
||||
resetDefaultOptions(): void;
|
||||
Component: typeof VanComponent;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
|
||||
Reference in New Issue
Block a user