From f43da7f9db2879188c5856e51a49bb9ffa6645ab Mon Sep 17 00:00:00 2001 From: niris Date: Wed, 6 Dec 2017 14:27:24 +0800 Subject: [PATCH] puppeteer: fix setCookie typing --- types/puppeteer/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/puppeteer/index.d.ts b/types/puppeteer/index.d.ts index ee88557e15..5028b86419 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -200,6 +200,8 @@ export interface SetCookie { name: string; /** The cookie value. */ value: string; + /** The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie. */ + url?: string; /** The cookie domain. */ domain?: string; /** The cookie path. */