Skip to content

Commit 09c2693

Browse files
committed
Redo
1 parent 9333824 commit 09c2693

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
@@ -13528,7 +13528,7 @@ namespace ts {
1352813528
// be "pushed" onto a node using the contextualType property.
1352913529
function getApparentTypeOfContextualType(node: Expression): Type {
1353013530
const type = getContextualType(node);
13531-
return type && getApparentType(type);
13531+
return type && mapType(type, getApparentType);
1353213532
}
1353313533

1353413534
/**

0 commit comments

Comments
 (0)