mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: remove more ts-doc warnings (#7422)
This commit is contained in:
parent
dd470c7a22
commit
c65b10c524
@ -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<void> {
|
||||
|
@ -641,6 +641,9 @@ const errorReasons: Record<ErrorCode, Protocol.Network.ErrorReason> = {
|
||||
failed: 'Failed',
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type ActionResult = 'continue' | 'abort' | 'respond';
|
||||
|
||||
function headersArray(
|
||||
|
@ -2718,8 +2718,8 @@ export class Page extends EventEmitter {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {!PDFOptions=} options -
|
||||
* @returns {!Promise<!Buffer>}
|
||||
* @param options -
|
||||
* @returns
|
||||
*/
|
||||
async pdf(options: PDFOptions = {}): Promise<Buffer> {
|
||||
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,
|
||||
|
@ -45,7 +45,9 @@ export interface BrowserLaunchArgumentOptions {
|
||||
*/
|
||||
args?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type ChromeReleaseChannel =
|
||||
| 'chrome'
|
||||
| 'chrome-beta'
|
||||
|
Loading…
Reference in New Issue
Block a user