File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
tests/baselines/reference Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1636,7 +1636,6 @@ namespace ts {
1636
1636
case SyntaxKind . ConditionalExpression :
1637
1637
case SyntaxKind . SpreadElement :
1638
1638
case SyntaxKind . TemplateExpression :
1639
- case SyntaxKind . NoSubstitutionTemplateLiteral :
1640
1639
case SyntaxKind . OmittedExpression :
1641
1640
case SyntaxKind . JsxElement :
1642
1641
case SyntaxKind . JsxSelfClosingElement :
@@ -1658,6 +1657,7 @@ namespace ts {
1658
1657
case SyntaxKind . NumericLiteral :
1659
1658
case SyntaxKind . BigIntLiteral :
1660
1659
case SyntaxKind . StringLiteral :
1660
+ case SyntaxKind . NoSubstitutionTemplateLiteral :
1661
1661
case SyntaxKind . ThisKeyword :
1662
1662
return isInExpressionContext ( node ) ;
1663
1663
default :
Original file line number Diff line number Diff line change 1
1
=== tests/cases/compiler/noSubstitutionTemplateStringLiteralTypes.ts ===
2
2
const x: `foo` = "foo";
3
3
>x : "foo"
4
- >`foo` : "foo"
5
4
>"foo" : "foo"
6
5
You can’t perform that action at this time.
0 commit comments