diff --git a/package.json b/package.json index cda85c7..ccb3883 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-clipboard", - "version": "0.0.3", + "version": "0.0.4", "description": "A \"copy to clipboard\" module for Nuxt.js using vue-clipboard2", "main": "lib/module.js", "types": "types/index.d.ts", diff --git a/types/index.d.ts b/types/index.d.ts index 2329db8..03089a9 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,3 @@ -import _Vue from 'vue'; interface CopyTextInterface { action: string, text: string, @@ -30,12 +29,3 @@ declare module 'vue/types/vue' { $copyText(text: string, container?: object | HTMLElement): Promise; } } -declare module 'vue/types/options' { - interface ComponentOptions { - $clipboardConfig: { - autoSetContainer: boolean, - appendToBody: boolean - } - $copyText(text: string, container?: object | HTMLElement): Promise; - } -}