-
Notifications
You must be signed in to change notification settings - Fork 65
equals
and union type
#268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm with you, though this is a TS thing, rather than one on Ramda typings. |
Well I believe this one is a valid case =) |
Whoops, I'm wrong, that issue was specifically about generics. I vaguely recall another issue about this more general case, but no clue where it was... |
Uhh, not sure if there is an issue for this there, so feel free to create one. Fortunately it's an easy change (just widen the types where I currently did Given that change, I imagine my PR might gain more utility as well. I'm not fully awake yet, but in the present logic (not resolving generics) I'm not sure atm how it allows comparing say a literal (e.g. |
What do you think, should/can equals error on this?
The text was updated successfully, but these errors were encountered: