Skip to content

Commit 7f045ad

Browse files
committed
Code review comments
1 parent a3b0810 commit 7f045ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14614,7 +14614,7 @@ namespace ts {
1461414614
if (node.typeParameters) {
1461514615
// Only report errors on the last declaration for the type parameter container;
1461614616
// this ensures that all uses have been accounted for.
14617-
const symbol = node.symbol && getMergedSymbol(node.symbol);
14617+
const symbol = getSymbolOfNode(node);
1461814618
const lastDeclaration = symbol && symbol.declarations && lastOrUndefined(symbol.declarations);
1461914619
if (lastDeclaration !== node) {
1462014620
return;

0 commit comments

Comments
 (0)