From f0724c38bb468a2e2bb30f5f06042c7786ae20ff Mon Sep 17 00:00:00 2001 From: niris Date: Tue, 28 Nov 2017 12:30:16 +0800 Subject: [PATCH] puppeteer: fix mouse.click typing --- types/puppeteer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/puppeteer/index.d.ts b/types/puppeteer/index.d.ts index 8138419b6a..ee88557e15 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -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; + click(x: number, y: number, options?: ClickOptions): Promise; /** * Dispatches a `mousedown` event. * @param options The mouse press options.