We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to edit a file that has a block like this
const reducers = combineReducers({ app, home });
I have been able to add a new key to it using this command:
tree.callExpression('combineReducers').arguments.at(0).key('test').value('test')
This ends up creating code like this:
const reducers = combineReducers({ app, home, test: test });
How can I get it to result in this??:
const reducers = combineReducers({ app, home, test });
The text was updated successfully, but these errors were encountered:
Do you know what is the AST tree of the desired syntax?
Sorry, something went wrong.
No branches or pull requests
I am trying to edit a file that has a block like this
I have been able to add a new key to it using this command:
This ends up creating code like this:
How can I get it to result in this??:
The text was updated successfully, but these errors were encountered: