-
Notifications
You must be signed in to change notification settings - Fork 142
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
Consider relaxing thenReject
to accept types other than Error
#510
Comments
Is this about the project's typings file? As a non-TS user, I've sorta let it be a free-for-all for anyone to contribute edits sensibly, so if you want to take a stab at a PR I would welcome it |
Hi Justin, According to their own declaration, in TypeScript Thank you, |
Description
In a TypeScript code base,
thenReject()
only acceptsError
s.Issue
It would be nice to allow for different types of rejected values – along the lines of this JavaScript example in the official docs.
Thanks,
Ilio.
The text was updated successfully, but these errors were encountered: