diff --git a/types/index.d.ts b/types/index.d.ts index 556329b..4184306 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import Vue, { PluginFunction, VNodeData } from 'vue' +import Vue, { PluginFunction, VNodeData, Component} from 'vue' declare const VueAccessibleModal: VueAccessibleModal @@ -15,7 +15,7 @@ declare module 'vue/types/vue' { interface Vue { $modal: { show( - component: Vue, + component: Component, options?: { props?: Vue['$props'] listeners?: Vue['$listeners']