Open
Description
Feature request
Add a refactoring that converts a destructured local to normal propery access:
const {x, y, z} = someObject;
console.log(x + y * z);
Would be converted to:
const newLocal = someObject;
console.log(newLocal.x + newLocal.y * newLocal.z);
We would want to also trigger a rename on newLocal
, similar to how the extract refactorings work
This would be the inverse refactoring of #25946