We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb05886 commit 961495bCopy full SHA for 961495b
1 file changed
src/compiler/checker.ts
@@ -13467,7 +13467,7 @@ namespace ts {
13467
13468
function getContextualTypeForJsxExpression(node: JsxExpression): Type {
13469
// JSX expression can appear in two position : JSX Element's children or JSX attribute
13470
- const jsxAttributes: JsxAttributes = isJsxAttributeLike(node.parent) ?
+ const jsxAttributes = isJsxAttributeLike(node.parent) ?
13471
node.parent.parent :
13472
isJsxElement(node.parent) ?
13473
node.parent.openingElement.attributes :
0 commit comments