Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingwl committed Jul 22, 2020
1 parent 6e39ee7 commit a593fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a593fd0

Please sign in to comment.