Add {…} to arrow function

Convert arrow function expression body into a block body.

Add {…} to arrow function

Why is this refactoring helpful?

When you want to add statements to an arrow function with an expression body, you need to convert it to a block body first. This code action lets you do this quickly.


Related Code Assists

Learn More

Available In