This release updates the TS types to correctly infer selector parameters when input selectors have undefined
or null
as a parameter type or have optional parameters, and exports the CreateSelectorFunction
type to fix uses of createStructuredSelector
.
(The types fixes feel like playing whack-a-mole, but they keep getting better!
What's Changed
- Fix intersection of parameters that are undefined by @markerikson in #556
- Export CreateSelectorFunction to fix createStructuredSelector usage by @markerikson in #557
Full Changelog: v4.1.4...v4.1.5