Skip to content

Commit a593fd0

Browse files
committed
Simplify code
1 parent 6e39ee7 commit a593fd0

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
@@ -27551,7 +27551,7 @@ namespace ts {
2755127551
return getDeprecatedSuggestionNode(node.tag);
2755227552
case SyntaxKind.JsxOpeningElement:
2755327553
case SyntaxKind.JsxSelfClosingElement:
27554-
return node.tagName;
27554+
return getDeprecatedSuggestionNode(node.tagName);
2755527555
default:
2755627556
return Debug.assertNever(node);
2755727557
}

0 commit comments

Comments
 (0)