This repository has been archived by the owner on Nov 4, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TypeScript compiler issue with fulfilled assertion
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.
- Loading branch information