mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update redux-thunk.d.ts
This commit is contained in:
Vendored
+3
-2
@@ -5,9 +5,10 @@
|
||||
|
||||
/// <reference path="../redux/redux.d.ts" />
|
||||
|
||||
import { Middleware, Dispatch } from 'redux';
|
||||
|
||||
declare module ReduxThunk {
|
||||
import { Middleware, Dispatch } from 'redux';
|
||||
export interface Thunk extends Middleware {};
|
||||
export interface Thunk extends Middleware {}
|
||||
export interface ThunkInterface {
|
||||
<T>(dispatch: Dispatch, getState?: () => T): any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user