Simplify code
This commit is contained in:
parent
6e39ee706e
commit
a593fd03fe
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue