mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Remove double 'if' (#17436)
This commit is contained in:
parent
65650253cf
commit
d9172dc321
@ -2099,10 +2099,8 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
if (symbol) {
|
||||
if (!(isPropertyOrMethodDeclarationSymbol(symbol))) {
|
||||
return forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);
|
||||
}
|
||||
if (symbol && !isPropertyOrMethodDeclarationSymbol(symbol)) {
|
||||
return forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user