updux/src/types.ts

8 lines
174 B
TypeScript
Raw Normal View History

2019-10-21 21:17:56 +00:00
export type Dictionary<T> = { [key: string]: T };
export type Mutation = (payload: any, action: any) => (state:any) => any;
export type Mutations = Dictionary<Mutation>;