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
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
TypeScript declarations extending Action are broken because the Reducer type requires action to be AnyAction.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.
What is the expected behavior?
I should be able to strictly type the action my reducer expects.
Which versions of Redux, and which browser and OS are affected by this issue? Did this work in previous versions of Redux?
This has worked since 3.4.0. (Some vague indication that 3.0.8, but no idea where the types came from prior to 3.4)
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
TypeScript declarations extending
Action
are broken because theReducer
type requires action to beAnyAction
.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.
What is the expected behavior?
I should be able to strictly type the action my reducer expects.
Which versions of Redux, and which browser and OS are affected by this issue? Did this work in previous versions of Redux?
This has worked since 3.4.0. (Some vague indication that 3.0.8, but no idea where the types came from prior to 3.4)
The text was updated successfully, but these errors were encountered: