Closed
Description
Bug Report
π Search Terms
vs code quick fix code action source
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about refactorings
β― Playground Link
N/A
π» Code
const fn = () => (
// foo
1
);
- Run refactoring "Add braces to arrow function"
π Actual behavior
const fn = () => {
return (
1
);
};
π Expected behavior
const fn = () => {
// foo
return (
1
);
};
or
const fn = () => {
return (
// foo
1
);
};