We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7566529 commit a7f9ec0Copy full SHA for a7f9ec0
1 file changed
src/compiler/checker.ts
@@ -13474,7 +13474,7 @@ namespace ts {
13474
undefined; // node.parent is JsxFragment with no attributes
13475
13476
if (!jsxAttributes) {
13477
- return anyType; // don't check children of a fragment
+ return undefined; // don't check children of a fragment
13478
}
13479
13480
// When we trying to resolve JsxOpeningLikeElement as a stateless function element, we will already give its attributes a contextual type
0 commit comments