Simplify code
This commit is contained in:
parent
6e39ee706e
commit
a593fd03fe
|
@ -27551,7 +27551,7 @@ namespace ts {
|
||||||
return getDeprecatedSuggestionNode(node.tag);
|
return getDeprecatedSuggestionNode(node.tag);
|
||||||
case SyntaxKind.JsxOpeningElement:
|
case SyntaxKind.JsxOpeningElement:
|
||||||
case SyntaxKind.JsxSelfClosingElement:
|
case SyntaxKind.JsxSelfClosingElement:
|
||||||
return node.tagName;
|
return getDeprecatedSuggestionNode(node.tagName);
|
||||||
default:
|
default:
|
||||||
return Debug.assertNever(node);
|
return Debug.assertNever(node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue