Respond to CR
This commit is contained in:
parent
75665294a9
commit
a7f9ec00ed
|
@ -13474,7 +13474,7 @@ namespace ts {
|
|||
undefined; // node.parent is JsxFragment with no attributes
|
||||
|
||||
if (!jsxAttributes) {
|
||||
return anyType; // don't check children of a fragment
|
||||
return undefined; // don't check children of a fragment
|
||||
}
|
||||
|
||||
// When we trying to resolve JsxOpeningLikeElement as a stateless function element, we will already give its attributes a contextual type
|
||||
|
|
Loading…
Reference in a new issue