unsplash / intlc

Compile ICU messages into code. Supports TypeScript and JSX. No runtime.
MIT License
56 stars 2 forks source link

Flatten callback nodes #200

Closed astlouisf closed 1 year ago

astlouisf commented 1 year ago

Should fix #199

I took the aggressive approach described in #199.

I ran it on our set of translation files and it didn't change anything except for two files that were correctly fixed :)

I left a comment to explain the Callback branch as a lot happen in a single line.

There might be some issues with formatting and general Haskell conventions.