diff --git a/src/components/confirmationservice/ConfirmationService.d.ts b/src/components/confirmationservice/ConfirmationService.d.ts index de2ab1d8b..236ab64c3 100644 --- a/src/components/confirmationservice/ConfirmationService.d.ts +++ b/src/components/confirmationservice/ConfirmationService.d.ts @@ -1,6 +1,7 @@ -import Vue, { PluginFunction } from 'vue'; +import Vue, { Plugin } from 'vue'; -export const install: PluginFunction<{}>; +declare const plugin: Plugin; +export default plugin; interface ConfirmationServiceMethods { require(options: any): any; diff --git a/src/components/toastservice/ToastService.d.ts b/src/components/toastservice/ToastService.d.ts index 88a375aa3..1efd6e838 100755 --- a/src/components/toastservice/ToastService.d.ts +++ b/src/components/toastservice/ToastService.d.ts @@ -1,6 +1,7 @@ -import Vue, { PluginFunction } from 'vue'; +import Vue, { Plugin } from 'vue'; -export const install: PluginFunction<{}>; +declare const plugin: Plugin; +export default plugin; interface ToastServiceMethods { add(message: any): any;