We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98c96a1 commit 9b0c87bCopy full SHA for 9b0c87b
1 file changed
src/clipboard.d.ts
@@ -39,7 +39,7 @@ declare class ClipboardJS {
39
/**
40
* Fires a copy action
41
*/
42
- static copy(target: string | Element, options: CopyActionOptions): string;
+ static copy(target: string | Element, options?: CopyActionOptions): string;
43
44
45
* Fires a cut action
0 commit comments