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

@@ -284,7 +284,7 @@ class Frame {
/**
* @param {string} filePath
* @return {!Promise}
* @return {!Promise<*>}
*/
async injectFile(filePath) {
let contents = await new Promise((resolve, reject) => {
@@ -299,7 +299,6 @@ class Frame {
/**
* @param {string} url
* @return {!Promise}
*/
async addScriptTag(url) {
return this.evaluate(addScriptTag, url);