From e93424a321d490f541f9a464de5cedc0792fc864 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko Date: Thu, 18 Feb 2021 04:26:25 +0100 Subject: [PATCH] Add missing options to type declaration (#42) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c3e88a1..c2ebfc5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -39,4 +39,4 @@ button.addEventListener('click', () => { }); ``` */ -export default function copyTextToClipboard(text: string): boolean; +export default function copyTextToClipboard(text: string, options?: Options): boolean;