primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [![Join the chat at https://gitter.im/primefaces/primevu
15 lines (12 loc) • 297 B
TypeScript
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;
}
}