Skip to content
New issue

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

Refactoring: add braces to arrow function #23402

Closed
DanielRosenwasser opened this issue Apr 13, 2018 · 2 comments
Closed

Refactoring: add braces to arrow function #23402

DanielRosenwasser opened this issue Apr 13, 2018 · 2 comments
Labels
Domain: Refactorings e.g. extract to constant or function, rename symbol Fixed A PR has been merged for this issue Good First Issue Well scoped, documented and has the green light Help Wanted You can do this Suggestion An idea for TypeScript

Comments

@DanielRosenwasser
Copy link
Member

Insightfully suggested in #23299 by @zaaack:

+1. Add braces is very useful, too.

Then substantiated further by @zuozijian3720:

+1. Add braces is very useful, too.

@DanielRosenwasser DanielRosenwasser added Suggestion An idea for TypeScript Help Wanted You can do this Good First Issue Well scoped, documented and has the green light Domain: Refactorings e.g. extract to constant or function, rename symbol labels Apr 13, 2018
@oliverjanik
Copy link

And remove?

@mhegazy mhegazy added this to the TypeScript 3.0 milestone Jun 11, 2018
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jun 11, 2018
@oliverjanik
Copy link

This is awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: Refactorings e.g. extract to constant or function, rename symbol Fixed A PR has been merged for this issue Good First Issue Well scoped, documented and has the green light Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

3 participants