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