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
isPromise
value is PromiseLike<>
isPromise doesn't really checks for value to be instance of Promise class, it checks if value is promise like, so it should return correct typings
Promise
It should be
export const isPromise = (value: any): value is PromiseLike<any> => {
The text was updated successfully, but these errors were encountered:
Hey @anion155. Over at the Radashi fork, this issue is being tracked in https://github.com/orgs/radashi-org/discussions/73. We should have this resolved in the next major version.
Sorry, something went wrong.
No branches or pull requests
isPromise
doesn't really checks for value to be instance ofPromise
class, it checks if value is promise like, so it should return correct typingsIt should be
The text was updated successfully, but these errors were encountered: