mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 22:51:17 -05:00
Fix #4808: Follow target symbols
This commit is contained in:
@@ -16795,7 +16795,11 @@ namespace ts {
|
||||
return symbols;
|
||||
}
|
||||
else if (symbol.flags & SymbolFlags.Transient) {
|
||||
const target = getSymbolLinks(symbol).target;
|
||||
let target: Symbol;
|
||||
let next: Symbol = symbol;
|
||||
while (next = getSymbolLinks(next).target) {
|
||||
target = next;
|
||||
}
|
||||
if (target) {
|
||||
return [target];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user