diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c437122b60979..7265057fa8e63 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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); }