import { Action } from 'redux'; export type UpduxAction = Action & Partial<{ payload: any, meta: any, }> export type Dictionary = { [key: string]: T }; export type Mutation = (payload: any, action: Action) => (state: S) => S ;