mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[puppeteer] Add "background_page" and "browser" to target types
This commit is contained in:
Vendored
+1
-1
@@ -1327,7 +1327,7 @@ export interface Target {
|
||||
page(): Promise<Page>;
|
||||
|
||||
/** 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;
|
||||
|
||||
Reference in New Issue
Block a user