diff --git a/src/components/confirmationservice/ConfirmationService.d.ts b/src/components/confirmationservice/ConfirmationService.d.ts index de2ab1d8b4..236ab64c38 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 88a375aa38..1efd6e8385 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;