Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58769e1

Browse files
author
Andy
authored
Fix bad parameter comment (microsoft#17496)
1 parent 476157f commit 58769e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17598,7 +17598,7 @@ namespace ts {
1759817598
}
1759917599

1760017600
if (functionFlags & FunctionFlags.Generator) {
17601-
const expressionType = checkExpressionCached(node.expression, /*contextualMapper*/ undefined);
17601+
const expressionType = checkExpressionCached(node.expression);
1760217602
let expressionElementType: Type;
1760317603
const nodeIsYieldStar = !!node.asteriskToken;
1760417604
if (nodeIsYieldStar) {

0 commit comments

Comments
 (0)