Skip to content

Commit

Permalink
fix(TS): add init type for click() (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed May 13, 2020
1 parent ee8aa5c commit cc01536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -13,7 +13,7 @@ export type TargetElement = Element | Window;

declare const userEvent: {
clear: (element: TargetElement) => void;
click: (element: TargetElement) => void;
click: (element: TargetElement, init?: MouseEventInit) => void;
dblClick: (element: TargetElement) => void;
selectOptions: (element: TargetElement, values: string | string[]) => void;
type: (
Expand Down

0 comments on commit cc01536

Please sign in to comment.