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

fix(types): improve higher-order combinator TS types #483

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

briancavalier
Copy link
Member

Summary

Use TS this argument type to provide correct types for higher-order methods join, switch, etc. in the same way that awaitPromises does.

Copy link
Collaborator

@Frikki Frikki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

Copy link
Collaborator

@davidchase davidchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@briancavalier briancavalier merged commit 097ed3b into master Aug 27, 2017
@briancavalier briancavalier deleted the update-ts-hos-method-types branch August 27, 2017 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants