-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bluebird Promise is not awaitable #31
Comments
What version of TypeScript are you using? See #29 which broke compatibility with earlier TypeScript versions 😦 |
"earlier" means |
We should add a test for |
Sadly, I'm pretty sure, yes. Definitely should. The tests here definitely need improving to at least TypeScript latest and TypeScript next. |
But if we have to decide between supporting |
@felixfbecker Because the "thenable" signature changed. I also agree with you, I didn't know if would break things when I merged it. I already have a proposal in there which is compatible with both too. |
I have a similar error again: const x: Bluebird<void> = Bluebird.resolve(Promise.resolve(123))
const x: Bluebird<void> = Bluebird.resolve((async () => {
// whatever
})())
|
Any word on fixing this? |
Operand for 'await' does not have a valid callable 'then' member
The text was updated successfully, but these errors were encountered: