We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
!isHeritageClause(node.parent)
1 parent 1394d80 commit 3ed5d0aCopy full SHA for 3ed5d0a
src/compiler/utilities.ts
@@ -2017,7 +2017,7 @@ namespace ts {
2017
case SyntaxKind.MetaProperty:
2018
return true;
2019
case SyntaxKind.ExpressionWithTypeArguments:
2020
- return !isPartOfTypeNode(node.parent);
+ return !isHeritageClause(node.parent);
2021
case SyntaxKind.QualifiedName:
2022
while (node.parent.kind === SyntaxKind.QualifiedName) {
2023
node = node.parent;
0 commit comments