Skip to content
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

Add generic error type to deferred/promise typing #25

Open
jessevdk opened this issue Sep 23, 2015 · 2 comments
Open

Add generic error type to deferred/promise typing #25

jessevdk opened this issue Sep 23, 2015 · 2 comments

Comments

@jessevdk
Copy link

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).

@dylans
Copy link
Contributor

dylans commented Sep 23, 2015

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

@jkieboom
Copy link

PR: #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants