Skip to content

Commit

Permalink
fix: 🐛 fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
TouchSek committed Mar 23, 2021
1 parent 4e82649 commit 90aa017
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 0 additions & 10 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import _Vue from 'vue';
interface CopyTextInterface {
action: string,
text: string,
Expand Down Expand Up @@ -30,12 +29,3 @@ declare module 'vue/types/vue' {
$copyText(text: string, container?: object | HTMLElement): Promise<CopyTextInterface>;
}
}
declare module 'vue/types/options' {
interface ComponentOptions<V extends _Vue> {
$clipboardConfig: {
autoSetContainer: boolean,
appendToBody: boolean
}
$copyText(text: string, container?: object | HTMLElement): Promise<CopyTextInterface>;
}
}

0 comments on commit 90aa017

Please sign in to comment.