tcodes0/redux-lux

payload type safety

Opened this issue · 2 comments

add a createAction fn to the model that coexists with the generic one passed to makeLuxReducer. Goal is to make payload type safe

that doesn't work, trying a generic unfortunately

also doesn't work, gonna throw at runtime instead