Skip to content

Commit

Permalink
Merge pull request #1595 from yichunsung/bugfix/fix-vue-Plugin-issue
Browse files Browse the repository at this point in the history
Fixed #1596 :  Typescript `Plugin` issue of `ConfirmationService.d.ts` and `ToastService.d.ts`
  • Loading branch information
tugcekucukoglu committed Oct 4, 2021
2 parents 467d6a2 + bfdf904 commit 2a5f242
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions 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;
Expand Down
5 changes: 3 additions & 2 deletions 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;
Expand Down

0 comments on commit 2a5f242

Please sign in to comment.