Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Conversation

lumaxis
Copy link
Contributor

@lumaxis lumaxis commented Feb 12, 2018

Without this, a standard assertion like

return (new Promise(null)).should.be.fulfilled();

would fail with a error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Promise<any>' has no compatible call signatures. compiler error.

Without this, a standard assertion like `return (new Promise(null)).should.be.fulfilled();` would fail with a “error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Promise<any>' has no compatible call signatures.” compiler error.
@btd btd merged commit 0abf2d5 into shouldjs:master Feb 13, 2018
@lumaxis lumaxis deleted the bugfix/typescript-error branch February 13, 2018 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants