declare const angular: IAngularStatic; type Action = { type: T; }; interface IAnyAction extends Action { [prop: string]: any; } type Listener = (state: any) => void; type Reducer = (state: S, action: IAnyAction) => S;