(node)
| 72854 | }, /*noReductions*/ true)); |
| 72855 | } |
| 72856 | function getContextualTypeForJsxExpression(node) { |
| 72857 | var exprParent = node.parent; |
| 72858 | return ts.isJsxAttributeLike(exprParent) |
| 72859 | ? getContextualType(node) |
| 72860 | : ts.isJsxElement(exprParent) |
| 72861 | ? getContextualTypeForChildJsxExpression(exprParent, node) |
| 72862 | : undefined; |
| 72863 | } |
| 72864 | function getContextualTypeForJsxAttribute(attribute) { |
| 72865 | // When we trying to resolve JsxOpeningLikeElement as a stateless function element, we will already give its attributes a contextual type |
| 72866 | // which is a type of the parameter of the signature we are trying out. |
no test coverage detected