mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added enhancer param for create store.
see [redux docs](http://rackt.org/redux/docs/api/createStore.html)
This commit is contained in:
Vendored
+1
-1
@@ -40,7 +40,7 @@ declare module Redux {
|
||||
subscribe(listener: Function): Function;
|
||||
}
|
||||
|
||||
function createStore(reducer: Reducer, initialState?: any): Store;
|
||||
function createStore(reducer: Reducer, initialState?: any, enhancer?: (any)=>any): Store;
|
||||
function bindActionCreators<T>(actionCreators: T, dispatch: Dispatch): T;
|
||||
function combineReducers(reducers: any): Reducer;
|
||||
function applyMiddleware(...middlewares: Middleware[]): Function;
|
||||
|
||||
Reference in New Issue
Block a user