From 3a20c598ab5411079a63a77acc032fb79ad5e63c Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 31 Dec 2020 18:11:43 +0300 Subject: [PATCH] Install missing type file --- .../confirmationservice/ConfirmationService.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/confirmationservice/ConfirmationService.d.ts diff --git a/src/components/confirmationservice/ConfirmationService.d.ts b/src/components/confirmationservice/ConfirmationService.d.ts new file mode 100644 index 000000000..880990bb7 --- /dev/null +++ b/src/components/confirmationservice/ConfirmationService.d.ts @@ -0,0 +1,14 @@ +import Vue, { PluginFunction } from 'vue'; + +export const install: PluginFunction<{}>; + +interface ConfirmationServiceMethods { + require(options: any): any; + close(): void; +} + +declare module 'vue/types/vue' { + interface Vue { + $confirm: ConfirmationServiceMethods; + } +} \ No newline at end of file