mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
puppeteer: fix mouse.click typing
This commit is contained in:
Vendored
+1
-1
@@ -58,7 +58,7 @@ export interface Mouse {
|
||||
* @param y The y position.
|
||||
* @param options The click options.
|
||||
*/
|
||||
click(x: number, y: number, options: ClickOptions): Promise<void>;
|
||||
click(x: number, y: number, options?: ClickOptions): Promise<void>;
|
||||
/**
|
||||
* Dispatches a `mousedown` event.
|
||||
* @param options The mouse press options.
|
||||
|
||||
Reference in New Issue
Block a user