Skip to content

Commit 8cadf56

Browse files
committed
Add JSX to SEF exprs
1 parent 509de27 commit 8cadf56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13272,6 +13272,8 @@ namespace ts {
1327213272
case SyntaxKind.ObjectLiteralExpression:
1327313273
case SyntaxKind.TypeOfExpression:
1327413274
case SyntaxKind.NonNullExpression:
13275+
case SyntaxKind.JsxSelfClosingElement:
13276+
case SyntaxKind.JsxElement:
1327513277
return true;
1327613278

1327713279
case SyntaxKind.ConditionalExpression:

0 commit comments

Comments
 (0)