Open wschella opened 6 years ago
Wait, is this not working right now?
This is being addressed on the typesafe-actions branch, but it needs to be finished. Examples are in place, it's mostly some mechanical porting now. Ping me if you want to work on this!
We should be able to switch on
action.type
and TSC should be able to deduce what the payload type is. See for example https://spin.atomicobject.com/2017/07/24/redux-action-pattern-typescript/.