Skip to content

Fix typing for Promises so that a void error callback doesn't mess up inference #3058

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

Merged
merged 1 commit into from
May 7, 2015

Conversation

JsonFreeman
Copy link
Contributor

Fixes #2010. I will also check in a fix to definitely typed.

@mhegazy
Copy link
Contributor

mhegazy commented May 7, 2015

thanks! 👍

@mhegazy
Copy link
Contributor

mhegazy commented May 7, 2015

@rbuckton can you take a look..

@rbuckton
Copy link
Contributor

rbuckton commented May 7, 2015

👍

JsonFreeman added a commit that referenced this pull request May 7, 2015
Fix typing for Promises so that a void error callback doesn't mess up inference
@JsonFreeman JsonFreeman merged commit dd6c87e into master May 7, 2015
@JsonFreeman JsonFreeman deleted the promiseVoidErrorCallback branch May 7, 2015 17:33
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
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.

Promise-type checking gives false errors
4 participants