-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I think it might be good to rename this package to typescript-fsa or fsa-typescript or something along those lines. This library can technically be used with any FSA compliant flux implementation, or even something else. For example I am currently using it in a cycle.js project.
On top of this, the redux dependency probably isn't necessary. We could reimplement the ReduxAction type in this library and be fairly certain that the API won't change as FSA is a pretty concrete interface at this point in time.
Also if you haven't seen it, should take a look at https://github.com/UrbanDoor/typed-fsa. Seems there are similar goals for both of these projects. Though I prefer this library's isType check over that other library's isAction check for narrowing, as there is no need to declare the payload again.
Thanks for all the hard work!