2019-10-23 17:25:39 +00:00
|
|
|
import { Action } from 'redux';
|
|
|
|
|
|
|
|
export type UpduxAction = Action & Partial<{
|
|
|
|
payload: any,
|
|
|
|
meta: any,
|
|
|
|
}>
|
|
|
|
|
|
|
|
export type Dictionary<T> = { [key: string]: T };
|
|
|
|
|
|
|
|
export type Mutation<S> = (payload: any, action: Action) => (state: S) => S ;
|
2019-10-23 17:28:13 +00:00
|
|
|
|
|
|
|
export type UpduxConfig = Partial<{
|
|
|
|
}>;
|