@brizy/media-gallery
Version:
14 lines (13 loc) • 614 B
TypeScript
import { Epic, EpicMiddleware } from "redux-observable";
import { IAction } from "~/redux/action";
import { State } from "~/redux/types/State";
import { Context } from "~/types/Context";
import { Translator } from "~/locale/useTranslation";
export type GenericEpic<D> = Epic<IAction, IAction, State, D>;
export type GenericEpicMiddleware<D> = EpicMiddleware<IAction, IAction, State, D>;
export type IEpic = GenericEpic<Context>;
export type EnvEpic = GenericEpic<{
context: Context;
t: Translator;
}>;
export declare const rootEpicCreator: Epic<IAction<string, any>, IAction<string, any>, State, Context>;