Skip to content

Commit fdb2e15

Browse files
committed
tweak type requirements and export ThunkOverload
1 parent 61e9e4d commit fdb2e15

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ export type {
55
ThunkAction,
66
ThunkDispatch,
77
ThunkActionDispatch,
8-
ThunkMiddleware
8+
ThunkMiddleware,
9+
ThunkOverload
910
} from './types'
1011

1112
/** A function that accepts a potential "extra argument" value to be injected later,

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ export type ThunkMiddleware<
9797
> = Middleware<
9898
ThunkOverload<State, ExtraThunkArg>,
9999
State,
100-
ThunkDispatch<State, ExtraThunkArg, BasicAction>
100+
Dispatch<BasicAction>
101101
>

0 commit comments

Comments
 (0)