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 @@ -1689,7 +1689,6 @@ namespace ts {
1689
1689
case SyntaxKind . ConditionalExpression :
1690
1690
case SyntaxKind . SpreadElement :
1691
1691
case SyntaxKind . TemplateExpression :
1692
- case SyntaxKind . NoSubstitutionTemplateLiteral :
1693
1692
case SyntaxKind . OmittedExpression :
1694
1693
case SyntaxKind . JsxElement :
1695
1694
case SyntaxKind . JsxSelfClosingElement :
@@ -1711,6 +1710,7 @@ namespace ts {
1711
1710
case SyntaxKind . NumericLiteral :
1712
1711
case SyntaxKind . BigIntLiteral :
1713
1712
case SyntaxKind . StringLiteral :
1713
+ case SyntaxKind . NoSubstitutionTemplateLiteral :
1714
1714
case SyntaxKind . ThisKeyword :
1715
1715
return isInExpressionContext ( node ) ;
1716
1716
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