mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Respond to CR
This commit is contained in:
1 parent
75665294a9
commit
a7f9ec00ed
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user