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 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;