From 6345e2cc7f2eb99febd7f4532928ff04c9c5e4e0 Mon Sep 17 00:00:00 2001 From: Pascal Duez Date: Tue, 22 Sep 2020 00:48:04 +0200 Subject: [PATCH] fix(typings): paste missing text argument (#454) --- typings/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 59a42015..be62ed3a 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -61,7 +61,8 @@ declare const userEvent: { tab: (userOpts?: ITabUserOptions) => void paste: ( element: TargetElement, - init?: {}, + text: string, + init?: MouseEventInit, pasteOptions?: { initialSelectionStart?: number initialSelectionEnd?: number