diff --git a/packages/vite-plugin-monkey/src/client/types/setClipboard.ts b/packages/vite-plugin-monkey/src/client/types/setClipboard.ts index 370349c..9297ccc 100644 --- a/packages/vite-plugin-monkey/src/client/types/setClipboard.ts +++ b/packages/vite-plugin-monkey/src/client/types/setClipboard.ts @@ -1,7 +1,7 @@ export interface GmSetClipboardType { - (data: string, type: string): void; + (data: string, type: string, cb?: () => void): void; } export interface GmAsyncSetClipboardType { - (data: string, type: string): Promise | void; + (data: string, type: string, cb?: () => void): Promise | void; }