You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I just noticed an issue in the typing of redux-router5 (redux-router5 v6.0.0, react-router5 v6.0.1, router5 v6.2.2).
./node_modules/redux-router5/index.d.ts
(17,28): Type 'TState' does not satisfy the constraint 'Action<any>'.
Type '{ router: RouterState; }' is not assignable to type 'Action<any>'.
Property 'type' is missing in type '{ router: RouterState; }'.
The issue appears to be in the reduxPlugin function type. When you are typing the dispatch argument, I believe it expects an object with a type field. But the current typing doesn't include a type field. I deleted this function definition locally and my build completed.
The text was updated successfully, but these errors were encountered:
Hey! I just noticed an issue in the typing of redux-router5 (redux-router5 v6.0.0, react-router5 v6.0.1, router5 v6.2.2).
The issue appears to be in the reduxPlugin function type. When you are typing the
dispatch
argument, I believe it expects an object with atype
field. But the current typing doesn't include atype
field. I deleted this function definition locally and my build completed.The text was updated successfully, but these errors were encountered: