DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.33k stars 28 forks source link

Avoid expressionizing statements in fat arrow functions #1221

Closed edemaine closed 1 month ago

edemaine commented 1 month ago

Fixes #1123

The change in the if/else is debatable, but this change is definitely good for expressionizing that wraps in IIFEs.