Skip to content

Commit

Permalink
fix(typings): paste missing text argument (testing-library#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalduez authored and Jesu Castillo committed Oct 23, 2020
1 parent a367932 commit e29b7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ declare const userEvent: {
tab: (userOpts?: ITabUserOptions) => void
paste: (
element: TargetElement,
init?: {},
text: string,
init?: MouseEventInit,
pasteOptions?: {
initialSelectionStart?: number
initialSelectionEnd?: number
Expand Down

0 comments on commit e29b7bd

Please sign in to comment.