mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update redux-thunk type definitions for v2.0.1
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/// <reference path="../express/express.d.ts" />
|
||||
|
||||
import { createStore, applyMiddleware, Store, Dispatch } from 'redux';
|
||||
import * as thunk from 'redux-thunk';
|
||||
import thunk from 'redux-thunk';
|
||||
import ThunkInterface = ReduxThunk.ThunkInterface;
|
||||
|
||||
declare var rootReducer: Function;
|
||||
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for redux-thunk
|
||||
// Type definitions for redux-thunk v2.0.1
|
||||
// Project: https://github.com/gaearon/redux-thunk
|
||||
// Definitions by: Qubo <https://github.com/tkqubo>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -14,5 +14,5 @@ declare module ReduxThunk {
|
||||
|
||||
declare module "redux-thunk" {
|
||||
var thunk: ReduxThunk.Thunk;
|
||||
export = thunk;
|
||||
export default thunk;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user