Closed rahulthewall closed 5 years ago
I have this fairly simple epic
const takeBreakEpic: Epic<RootAction, RootAction> = (action$) => action$.pipe( filter(isActionOf(toggleBreakAction)), mapTo(logoutAction()) );
I can't get this to work, it fails with the following error message
Error: Argument contains array with invalid element at index 0, it should be an action-creator instance from "typesafe-actions"
Is this a bug in the library?
Was using action to create the action instead of createAction. Should RTFM.
action
createAction
I have this fairly simple epic
I can't get this to work, it fails with the following error message
Is this a bug in the library?