We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fromFalsy have this signature:
fromFalsy<V>(val: V|null|undefined): Maybe<V>;
This means that the following produces V=false|string, where it should be V=string:
V=false|string
V=string
fromFalsy(false | "some string")
I think the signature should be changed to:
fromFalsy<V>(val: V|null|undefined|false): Maybe<V>;
The text was updated successfully, but these errors were encountered:
@tvedtorama please see #258
Sorry, something went wrong.
No branches or pull requests
fromFalsy have this signature:
This means that the following produces
V=false|string
, where it should beV=string
:I think the signature should be changed to:
The text was updated successfully, but these errors were encountered: