diff --git a/redux/redux.d.ts b/redux/redux.d.ts index 596647fb64..3327236c14 100644 --- a/redux/redux.d.ts +++ b/redux/redux.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Redux v1.0.0 +// Type definitions for Redux v3.3.1 // Project: https://github.com/rackt/redux // Definitions by: William Buchwalter , Vincent Prouillet // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -40,7 +40,7 @@ declare namespace Redux { subscribe(listener: Function): Function; } - function createStore(reducer: Reducer, initialState?: any, enhancer?: ()=>any): Store; + function createStore(reducer: Reducer, initialState?: any, enhancer?: Function): Store; function bindActionCreators(actionCreators: T, dispatch: Dispatch): T; function combineReducers(reducers: any): Reducer; function applyMiddleware(...middlewares: Middleware[]): Function;