Skip to content

Commit

Permalink
Fix typescript definitions issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 20, 2019
1 parent b0edde2 commit ae590a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

interface CopyTextToClipboard {
(key: string, method: boolean): void
(text: string, method?: (isCopy: boolean) => void): void
}

declare var copyTextToClipboard: CopyTextToClipboard
Expand Down

0 comments on commit ae590a8

Please sign in to comment.