@vscodeshift/function-codemorphsCommands for refactoring functions Convert arrow function body to block statementBefore
Position cursor anywhere in the arrow function and then run the Convert arrow function body to block statement command. After
Convert arrow function body to expressionThe inverse of the above. The function body must consist only of
a Before
Position cursor anywhere in the arrow function and then run the Convert arrow function body to expression command. After
|