Remove unnecessary change

This commit is contained in:
Andrew Branch
2019-04-17 18:48:01 -07:00
parent 08bb58b0c1
commit 92f0ac7efc
4 changed files with 4 additions and 4 deletions

View File

@@ -1729,7 +1729,7 @@ namespace ts {
node.initializer);
}
}
else if (renameMap && checker && isIdentifier(node) && !(node.parent && node.parent.parent && isBindingElement(node.parent) && isObjectBindingPattern(node.parent.parent))) {
else if (renameMap && checker && isIdentifier(node)) {
const symbol = checker.getSymbolAtLocation(node);
const renameInfo = symbol && renameMap.get(String(getSymbolId(symbol)));