Skip to content

Commit e5d15f5

Browse files
jmrogtimdorr
authored andcommitted
Change misleading parameter name for overload of ThunkDispatch (#216)
1 parent cb8f88e commit e5d15f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Middleware, Action, AnyAction } from "redux";
22

33
export interface ThunkDispatch<S, E, A extends Action> {
44
<T extends A>(action: T): T;
5-
<R>(asyncAction: ThunkAction<R, S, E, A>): R;
5+
<R>(thunkAction: ThunkAction<R, S, E, A>): R;
66
}
77

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

0 commit comments

Comments
 (0)