mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove double 'if' (#17436)
This commit is contained in:
@@ -2099,10 +2099,8 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
if (symbol) {
|
||||
if (!(isPropertyOrMethodDeclarationSymbol(symbol))) {
|
||||
return forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);
|
||||
}
|
||||
if (symbol && !isPropertyOrMethodDeclarationSymbol(symbol)) {
|
||||
return forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user