Closed mbohgard closed 6 years ago
In Redux 4.0, I get the following TS error when compiling: Type 'S' does not satisfy the constraint 'Dispatch<AnyAction>'
Type 'S' does not satisfy the constraint 'Dispatch<AnyAction>'
Apparently the MiddlewareAPI signature changed to MiddlewareAPI<Dispatch, S>
MiddlewareAPI<Dispatch, S>
Thanks for letting me know. I haven't yet used Redux 4.0.
In Redux 4.0, I get the following TS error when compiling:
Type 'S' does not satisfy the constraint 'Dispatch<AnyAction>'
Apparently the MiddlewareAPI signature changed to
MiddlewareAPI<Dispatch, S>