Fix jsdoc after 67932b8

This patch gets rid of "CDP" type in jsdoc annotations.
This commit is contained in:
Andrey Lushnikov 2017-06-14 18:37:42 -07:00
parent 67932b87c1
commit 9bdf9ed5de
2 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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>}