Remove promise jsdoc (#641)

This patch removes unnecessary "promise" return types in jsdoc for async functions.
This commit is contained in:
JoelEinbinder
2017-08-31 17:58:07 -07:00
committed by Andrey Lushnikov
parent 62ececb1c7
commit 42fa3af659
12 changed files with 1 additions and 59 deletions

View File

@@ -19,7 +19,6 @@ const utils = module.exports = {
* @param {!Page} page
* @param {string} frameId
* @param {string} url
* @return {!Promise}
*/
attachFrame: async function(page, frameId, url) {
await page.evaluate(attachFrame, frameId, url);
@@ -36,7 +35,6 @@ const utils = module.exports = {
/**
* @param {!Page} page
* @param {string} frameId
* @return {!Promise}
*/
detachFrame: async function(page, frameId) {
await page.evaluate(detachFrame, frameId);
@@ -51,7 +49,6 @@ const utils = module.exports = {
* @param {!Page} page
* @param {string} frameId
* @param {string} url
* @return {!Promise}
*/
navigateFrame: async function(page, frameId, url) {
await page.evaluate(navigateFrame, frameId, url);