Skip to content

Commit

Permalink
Fix jsdoc type of newly introduced $jscomp.asyncExecutePromiseGenerat…
Browse files Browse the repository at this point in the history
…orFunction

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=187670328
  • Loading branch information
SergejSalnikov authored and Tyler Breisacher committed Mar 3, 2018
1 parent e9b9f6a commit b4d8204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ $jscomp.executeAsyncGenerator = function(generator) {
* });
* }
* ```
* @param {function(): !Generator<VALUE|!IThenable<VALUE>>} generatorFunction
* @return {!Promise<VALUE>}
* @template VALUE
* @param {function(): !Generator<?>} generatorFunction
* @return {!Promise<?>}
* @suppress {reportUnknownTypes}
*/
$jscomp.asyncExecutePromiseGeneratorFunction = function(generatorFunction) {
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit b4d8204

Please sign in to comment.