We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b919ff commit 1394d80Copy full SHA for 1394d80
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) || isHeritageClause(node.parent));
+ return !isPartOfTypeNode(node.parent);
2021
case SyntaxKind.QualifiedName:
2022
while (node.parent.kind === SyntaxKind.QualifiedName) {
2023
node = node.parent;
0 commit comments