- Update the signature of
CancellablePromise.race
to match that ofPromise.race
in the latest version of TypeScript. This should not be a breaking change for the vast majority of users. (#8)
- Make the
capture
function ofbuildCancellablePromise
an identity function from a type perspective.
- Fix
CancellablePromise<T>
not being assignable toPromise<T>
- Publish ES module
Initial release