mayhem icon indicating copy to clipboard operation
mayhem copied to clipboard

Add generic error type to deferred/promise typing

Open jessevdk opened this issue 9 years ago • 2 comments

It would be nice if the IPromise and IDeferred interfaces would also type the error type of the promise/deferred. I wanted to check if this is something that would be considered. If so, I can make a PR (I have a working version of this locally).

jessevdk avatar Sep 23 '15 14:09 jessevdk

@jessevdk sure, send over the PR and we'll review, thanks!

dylans avatar Sep 23 '15 14:09 dylans

PR: https://github.com/SitePen/mayhem/pull/26

jkieboom avatar Sep 23 '15 17:09 jkieboom