Skip to content

Commit 1394d80

Browse files
Update src/compiler/utilities.ts
1 parent 9b919ff commit 1394d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ namespace ts {
20172017
case SyntaxKind.MetaProperty:
20182018
return true;
20192019
case SyntaxKind.ExpressionWithTypeArguments:
2020-
return !(isPartOfTypeNode(node.parent) || isHeritageClause(node.parent));
2020+
return !isPartOfTypeNode(node.parent);
20212021
case SyntaxKind.QualifiedName:
20222022
while (node.parent.kind === SyntaxKind.QualifiedName) {
20232023
node = node.parent;

0 commit comments

Comments
 (0)