From bfdf90460adfb820e3e79211e9f05964215bcd4d Mon Sep 17 00:00:00 2001 From: YiChun Sung Date: Thu, 23 Sep 2021 01:52:31 +0800 Subject: [PATCH] Fixed issue of ConfirmationService.d.ts and ToastService.d.ts --- src/components/confirmationservice/ConfirmationService.d.ts | 5 +++-- src/components/toastservice/ToastService.d.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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;