diff --git a/src/common/Coverage.ts b/src/common/Coverage.ts index 06354a3d..5c7da9c2 100644 --- a/src/common/Coverage.ts +++ b/src/common/Coverage.ts @@ -123,8 +123,8 @@ export class Coverage { } /** - * @param options - Set of configurable options for coverage defaults to `{ - * resetOnNavigation : true, reportAnonymousScripts : false }` + * @param options - Set of configurable options for coverage defaults to + * `resetOnNavigation : true, reportAnonymousScripts : false` * @returns Promise that resolves when coverage is started. * * @remarks @@ -150,8 +150,8 @@ export class Coverage { } /** - * @param options - Set of configurable options for coverage, defaults to `{ - * resetOnNavigation : true }` + * @param options - Set of configurable options for coverage, defaults to + * `resetOnNavigation : true` * @returns Promise that resolves when coverage is started. */ async startCSSCoverage(options: CSSCoverageOptions = {}): Promise { diff --git a/src/common/HTTPRequest.ts b/src/common/HTTPRequest.ts index 61e2ad8a..22a6442e 100644 --- a/src/common/HTTPRequest.ts +++ b/src/common/HTTPRequest.ts @@ -641,6 +641,9 @@ const errorReasons: Record = { failed: 'Failed', } as const; +/** + * @public + */ export type ActionResult = 'continue' | 'abort' | 'respond'; function headersArray( diff --git a/src/common/Page.ts b/src/common/Page.ts index 3be8564b..f75a7ffa 100644 --- a/src/common/Page.ts +++ b/src/common/Page.ts @@ -2718,8 +2718,8 @@ export class Page extends EventEmitter { } /** - * @param {!PDFOptions=} options - - * @returns {!Promise} + * @param options - + * @returns */ async pdf(options: PDFOptions = {}): Promise { const { path = undefined } = options; @@ -2897,7 +2897,6 @@ export class Page extends EventEmitter { * key presses in milliseconds. Defaults to `0`. * @returns * @remarks - * Shortcut for {@link page.mainFrame().type(selector, text[, options])} */ type( selector: string, diff --git a/src/node/LaunchOptions.ts b/src/node/LaunchOptions.ts index e132598c..46505583 100644 --- a/src/node/LaunchOptions.ts +++ b/src/node/LaunchOptions.ts @@ -45,7 +45,9 @@ export interface BrowserLaunchArgumentOptions { */ args?: string[]; } - +/** + * @public + */ export type ChromeReleaseChannel = | 'chrome' | 'chrome-beta'