Add {…} to arrow function
Convert arrow function expression body into a block body.

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.
Configuration
- Code Assist ID (for the configuration file):
add-braces-to-arrow-function
- You can configure custom keyboard shortcuts with this code action kind:
refactor.convert.toggle.braces.arrow-function.p42.add-braces-to-arrow-function
- This code assist replaces the default code assist "Add or remove braces in an arrow function" from Visual Studio Code. Learn how to configure the visibility of overlapping code assists.