Skip to content

Commit 961495b

Browse files
Remove unnecessary type annotation
1 parent fb05886 commit 961495b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13467,7 +13467,7 @@ namespace ts {
1346713467

1346813468
function getContextualTypeForJsxExpression(node: JsxExpression): Type {
1346913469
// JSX expression can appear in two position : JSX Element's children or JSX attribute
13470-
const jsxAttributes: JsxAttributes = isJsxAttributeLike(node.parent) ?
13470+
const jsxAttributes = isJsxAttributeLike(node.parent) ?
1347113471
node.parent.parent :
1347213472
isJsxElement(node.parent) ?
1347313473
node.parent.openingElement.attributes :

0 commit comments

Comments
 (0)