We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b0810 commit 7f045adCopy full SHA for 7f045ad
src/compiler/checker.ts
@@ -14614,7 +14614,7 @@ namespace ts {
14614
if (node.typeParameters) {
14615
// Only report errors on the last declaration for the type parameter container;
14616
// this ensures that all uses have been accounted for.
14617
- const symbol = node.symbol && getMergedSymbol(node.symbol);
+ const symbol = getSymbolOfNode(node);
14618
const lastDeclaration = symbol && symbol.declarations && lastOrUndefined(symbol.declarations);
14619
if (lastDeclaration !== node) {
14620
return;
0 commit comments