Created ToastService.d.ts
parent
7de9be3559
commit
81cb6e5475
|
@ -0,0 +1 @@
|
||||||
|
export * from './components/toast/ToastService';
|
|
@ -0,0 +1,15 @@
|
||||||
|
import Vue, { PluginFunction } from 'vue';
|
||||||
|
|
||||||
|
export const install: PluginFunction<{}>;
|
||||||
|
|
||||||
|
interface ToastServiceMethods {
|
||||||
|
add(message: any): any;
|
||||||
|
removeGroup(group: any): void;
|
||||||
|
removeAllGroups(): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module 'vue/types/vue' {
|
||||||
|
interface Vue {
|
||||||
|
$toast: ToastServiceMethods;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue