Skip to content

Instantly share code, notes, and snippets.

ladas-larry

  • Berlin, Germany
Block or report user

Report or block ladas-larry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ladas-larry
ladas-larry / actionCreator.ts
Created Jul 9, 2019 — forked from jiayihu/actionCreator.ts
Minimal action creator factory for redux-observable and redux-saga
View actionCreator.ts
import { IAction } from '../types/redux.types';
import { actionTypes as errorTypes, showError } from './errors.actions';
interface IPayloadCreators {
request(...args: any[]): any;
success(...args: any[]): any;
failure?(errorMsg: string): any;
}
interface IActionCreator {
You can’t perform that action at this time.