mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-13 22:00:59 -05:00
Simplify code
This commit is contained in:
@@ -27551,7 +27551,7 @@ namespace ts {
|
||||
return getDeprecatedSuggestionNode(node.tag);
|
||||
case SyntaxKind.JsxOpeningElement:
|
||||
case SyntaxKind.JsxSelfClosingElement:
|
||||
return node.tagName;
|
||||
return getDeprecatedSuggestionNode(node.tagName);
|
||||
default:
|
||||
return Debug.assertNever(node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user