diff --git a/lib/declarations/clipboard.js b/lib/declarations/clipboard.js index 6415a752c..66ddc4fa8 100644 --- a/lib/declarations/clipboard.js +++ b/lib/declarations/clipboard.js @@ -26,10 +26,16 @@ declare module "clipboard" { + /* Class: Clipboard action */ + declare class ClipboardAction { + trigger: HTMLElement, + clearSelection(): void + } + /* Class: Clipboard */ declare class Clipboard { static isSupported(): boolean, - on(event: string, cb: Function): void + on(name: string, cb: (action: ClipboardAction) => void): void } /* Exports */