Skip to content

Commit a7f9ec0

Browse files
Respond to CR
1 parent 7566529 commit a7f9ec0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13474,7 +13474,7 @@ namespace ts {
1347413474
undefined; // node.parent is JsxFragment with no attributes
1347513475

1347613476
if (!jsxAttributes) {
13477-
return anyType; // don't check children of a fragment
13477+
return undefined; // don't check children of a fragment
1347813478
}
1347913479

1348013480
// When we trying to resolve JsxOpeningLikeElement as a stateless function element, we will already give its attributes a contextual type

0 commit comments

Comments
 (0)