import { Action } from 'redux'; export interface IPayloadAction
extends Action { payload?: P; error?: any; meta?: M; }