Open anion155 opened 1 month ago
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
isPromise
Promise
It should be
export const isPromise = (value: any): value is PromiseLike<any> => {
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.
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