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
I suspect we'd need to rewrite the function to be overloaded so that each branch can infer its own generics, but there might be a smarter way with newer type system features.
Taking a step back, have you considered using Options instead? Here's an alternative approach with altAllBy and function composition:
IMHO this should work
Right now I have to :
to make TypeScript happy …
The text was updated successfully, but these errors were encountered: