unexpected argument error
type error when createStructuredCachedSelector
provided with 2+ arguments
#155
Labels
unexpected argument error
type error when createStructuredCachedSelector
provided with 2+ arguments
#155
Do you want to request a feature or report a bug?
bug
What is the current behaviour?
When a selectors of a structured cached selector has an optional argument, typescript gives "unexpected argument error" when the structured cached selector is called with that optional argument.
What is the expected behaviour?
TypeScript should not give error (I think)
Steps to Reproduce the Problem
createStructuredCachedSelector
with all its selectors having two parameters. The second parameter is optional for all of them.Specifications
Example:
The text was updated successfully, but these errors were encountered: