Remove unnecessary type annotation

This commit is contained in:
uniqueiniquity
2017-10-25 10:18:17 -07:00
parent fb058868de
commit 961495bb79
+1 -1
View File
@@ -13467,7 +13467,7 @@ namespace ts {
function getContextualTypeForJsxExpression(node: JsxExpression): Type {
// JSX expression can appear in two position : JSX Element's children or JSX attribute
const jsxAttributes: JsxAttributes = isJsxAttributeLike(node.parent) ?
const jsxAttributes = isJsxAttributeLike(node.parent) ?
node.parent.parent :
isJsxElement(node.parent) ?
node.parent.openingElement.attributes :