/** Created by ge on 12/6/15. */ export interface Action { type: string; } export interface Thunk { (): Action | void ; } export interface Hash { [key:string]:TS; } export interface Reducer { (state:TState, action:Action, callback?:(state:TState)=>void):TState; } export interface StateActionBundle { state: TState; action: Action }