mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
fix dat thunkiness
This commit is contained in:
1 parent
81f1548274
commit
75249b9710
1 file changed
+2
-4
Vendored
+2
-4
@@ -5,12 +5,10 @@
|
||||
|
||||
/// <reference path="../redux/redux.d.ts" />
|
||||
|
||||
import { Middleware, Dispatch } from 'redux';
|
||||
|
||||
declare module ReduxThunk {
|
||||
export interface Thunk extends Middleware {}
|
||||
export interface Thunk extends Redux.Middleware {}
|
||||
export interface ThunkInterface {
|
||||
<T>(dispatch: Dispatch, getState?: () => T): any;
|
||||
<T>(dispatch: Redux.Dispatch, getState?: () => T): any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user