I am looking for a vscode extension that can take a function like this;
const hello = () => {
const name = () => {}
const age = () => {}
const height = () => {}
const location = () => {}
}
And add create an object of all the declare variables in the function:
const hello = () => {
const name = () => {}
const age = () => {}
const height = () => {}
const location = () => {}
return { name, age, height, location }
}