mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Fix jsdoc after 67932b8
This patch gets rid of "CDP" type in jsdoc annotations.
This commit is contained in:
parent
67932b87c1
commit
9bdf9ed5de
@ -22,7 +22,7 @@ var mime = require('mime');
|
||||
class Page extends EventEmitter {
|
||||
/**
|
||||
* @param {!Browser} browser
|
||||
* @param {!CDP} client
|
||||
* @param {!Connection} client
|
||||
* @return {!Promise<!Page>}
|
||||
*/
|
||||
static async create(browser, client) {
|
||||
@ -41,7 +41,7 @@ class Page extends EventEmitter {
|
||||
|
||||
/**
|
||||
* @param {!Browser} browser
|
||||
* @param {!CDP} client
|
||||
* @param {!Connection} client
|
||||
* @param {number} screenDPI
|
||||
*/
|
||||
constructor(browser, client, screenDPI) {
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
var helpers = module.exports = {
|
||||
/**
|
||||
* @param {!CDP} client
|
||||
* @param {!Connection} client
|
||||
* @param {string} url
|
||||
* @return {!Promise<?Object>}
|
||||
*/
|
||||
@ -45,7 +45,7 @@ var helpers = module.exports = {
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {!CDP} client
|
||||
* @param {!Connection} client
|
||||
* @param {function()} fun
|
||||
* @param {!Array<*>} args
|
||||
* @param {boolean} awaitPromise
|
||||
@ -58,7 +58,7 @@ var helpers = module.exports = {
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {!CDP} client
|
||||
* @param {!Connection} client
|
||||
* @param {string} text
|
||||
* @param {boolean} awaitPromise
|
||||
* @return {!Promise<!Object>}
|
||||
|
Loading…
Reference in New Issue
Block a user