diff --git a/index.d.ts b/index.d.ts index ced1559263..20c22d2f14 100644 --- a/index.d.ts +++ b/index.d.ts @@ -54,13 +54,13 @@ export interface AnyAction extends Action { * * @template S State object type. */ -export type Reducer = (state: S, action: AnyAction) => S; +export type Reducer = (state: S, action: A) => S; /** * Object whose values correspond to different reducer functions. */ -export interface ReducersMapObject { - [key: string]: Reducer; +export interface ReducersMapObject { + [key: string]: Reducer; } /** @@ -81,7 +81,7 @@ export interface ReducersMapObject { * @returns A reducer function that invokes every reducer inside the passed * object, and builds a state object with the same shape. */ -export function combineReducers(reducers: ReducersMapObject): Reducer; +export function combineReducers(reducers: ReducersMapObject): Reducer; /* store */