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
Typescript typings for Dynamic-Selectors have been rewritten from the ground up: the typings for a dynamic selector are
now inferred from the typings of the internal function you pass to createDynamicSelector. This includes the return
type, any key params, and any extra args.
The getState argument passed to a selector now accepts a generic param for its return value.
Default typings are more restrictive, and will result in unknown being returned if not inferrable or specified.
dynamicSelectorForState now accepts a generic type param for the State, which affects its own options and the
typings for the createDynamicSelector function it returns.
Aside from these typing changes, there are no changes to the overall algorithm or functionality: everything should work
the same now as before.
Selector parameter and return-type typings are now inferred based on the function you provide (#37) (c36ba19)
Update build system and supported Node versions (#35) (42dfbc2)