Closed max-mykhailenko closed 6 years ago
I tried on my machine but I wasn't able to reproduce it, please post the context where the issue happens.
// @flow
export default function getGeneratorMiddleware() {
return (store: Store<ReduxState, Action>) => (next: Function) => (action: genAction): mixed => {
if (typeof action.next === 'function') {
return goOn(store, action);
}
return next(action);
};
}
Sorry for flow
Broken
Earlier additional braces fix that, but now completely broke