fix(transform-destructuring): update scope info after replacing
This commit is contained in:
@@ -599,6 +599,7 @@ export default declare((api, options) => {
|
||||
}
|
||||
|
||||
path.replaceWithMultiple(nodes);
|
||||
path.scope.crawl();
|
||||
},
|
||||
|
||||
VariableDeclaration(path) {
|
||||
|
||||
Reference in New Issue
Block a user