We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa6773e commit 35addceCopy full SHA for 35addce
src/compiler/checker.ts
@@ -1017,6 +1017,7 @@ namespace ts {
1017
}
1018
break;
1019
case SyntaxKind.ExpressionWithTypeArguments:
1020
+ // The type parameters of a class are not in scope in the base class expression.
1021
if (lastLocation === (<ExpressionWithTypeArguments>location).expression && (<HeritageClause>location.parent).token === SyntaxKind.ExtendsKeyword) {
1022
const container = location.parent.parent;
1023
if (isClassLike(container) && (result = lookup(getSymbolOfNode(container).members, name, meaning & SymbolFlags.Type))) {
0 commit comments