Merge pull request #1595 from yichunsung/bugfix/fix-vue-Plugin-issue

Fixed #1596 :  Typescript `Plugin` issue of `ConfirmationService.d.ts` and `ToastService.d.ts`
pull/1643/head
Tuğçe Küçükoğlu 2021-10-04 15:34:53 +03:00 committed by GitHub
commit 2a5f2422a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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 { interface ConfirmationServiceMethods {
require(options: any): any; require(options: any): any;

View File

@ -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 { interface ToastServiceMethods {
add(message: any): any; add(message: any): any;