clarus / redux-ship

Side effects with snapshots for Redux.
https://clarus.github.io/redux-ship/
MIT License
611 stars 19 forks source link

Inferrable Ship Payload Arity #17

Closed sleexyz closed 7 years ago

sleexyz commented 7 years ago

Original issue: #16

As of 0.38, Flow now strictly enforces tuple arity, which causes an issue with the current typing of allAny

This PR sets the payload type of allAny to be inferred.

I'm running flow 0.39, and this change removes errors on import.

clarus commented 7 years ago

Thanks for the update!