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…
Reference in a new issue