mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-18 12:21:37 -06:00
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…
x
Reference in New Issue
Block a user