mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-18 12:21:37 -06:00
Remove unnecessary type annotation
This commit is contained in:
parent
fb058868de
commit
961495bb79
@ -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 :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user