import { Action } from 'redux'; export interface IAction
extends Action { type: string; payload?: P; error?: boolean; meta?: M; } export interface IPayloadCreator
{
(...args: any[]): P;
}
export interface IMetaCreator {
(...args: any[]): IAction ;
}