mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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