From 94498aa01cfae725ca435935df5ca65af422ab13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Simon=20Maria=20M=C3=B6llers?= Date: Tue, 12 Jun 2018 18:38:16 +0200 Subject: [PATCH] [puppeteer] Add "background_page" and "browser" to target types --- 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 bcfb1c500b..feae93f74f 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -1327,7 +1327,7 @@ export interface Target { page(): Promise; /** Identifies what kind of target this is. */ - type(): "page" | "service_worker" | "other"; + type(): "page" | "background_page" | "service_worker" | "browser" | "other"; /** Returns the target URL. */ url(): string;