Fix bad parameter comment (#17496)

This commit is contained in:
Andy 2017-07-28 15:44:13 -07:00 committed by GitHub
parent 476157fab8
commit 58769e1dab

View File

@ -17598,7 +17598,7 @@ namespace ts {
}
if (functionFlags & FunctionFlags.Generator) {
const expressionType = checkExpressionCached(node.expression, /*contextualMapper*/ undefined);
const expressionType = checkExpressionCached(node.expression);
let expressionElementType: Type;
const nodeIsYieldStar = !!node.asteriskToken;
if (nodeIsYieldStar) {