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 @@ -1692,7 +1692,6 @@ namespace ts {
1692
1692
case SyntaxKind . ConditionalExpression :
1693
1693
case SyntaxKind . SpreadElement :
1694
1694
case SyntaxKind . TemplateExpression :
1695
- case SyntaxKind . NoSubstitutionTemplateLiteral :
1696
1695
case SyntaxKind . OmittedExpression :
1697
1696
case SyntaxKind . JsxElement :
1698
1697
case SyntaxKind . JsxSelfClosingElement :
@@ -1715,6 +1714,7 @@ namespace ts {
1715
1714
case SyntaxKind . NumericLiteral :
1716
1715
case SyntaxKind . BigIntLiteral :
1717
1716
case SyntaxKind . StringLiteral :
1717
+ case SyntaxKind . NoSubstitutionTemplateLiteral :
1718
1718
case SyntaxKind . ThisKeyword :
1719
1719
return isInExpressionContext ( node ) ;
1720
1720
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