Skip to content

Commit

Permalink
Change misleading parameter name for overload of ThunkDispatch (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrog authored and timdorr committed Sep 27, 2018
1 parent cb8f88e commit e5d15f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Middleware, Action, AnyAction } from "redux";

export interface ThunkDispatch<S, E, A extends Action> {
<T extends A>(action: T): T;
<R>(asyncAction: ThunkAction<R, S, E, A>): R;
<R>(thunkAction: ThunkAction<R, S, E, A>): R;
}

export type ThunkAction<R, S, E, A extends Action> = (
Expand Down

0 comments on commit e5d15f5

Please sign in to comment.