forked from enviPath/enviPy
Current Dev State
This commit is contained in:
18
static/js/ketcher2/node_modules/redux-thunk/index.d.ts
generated
vendored
Normal file
18
static/js/ketcher2/node_modules/redux-thunk/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
import {Middleware, Dispatch} from "redux";
|
||||
|
||||
|
||||
export type ThunkAction<R, S, E> = (dispatch: Dispatch<S>, getState: () => S,
|
||||
extraArgument: E) => R;
|
||||
|
||||
declare module "redux" {
|
||||
export interface Dispatch<S> {
|
||||
<R, E>(asyncAction: ThunkAction<R, S, E>): R;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
declare const thunk: Middleware & {
|
||||
withExtraArgument(extraArgument: any): Middleware;
|
||||
};
|
||||
|
||||
export default thunk;
|
||||
Reference in New Issue
Block a user