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(fromEventPattern): improve typings for fromEventPattern #4496

Merged
merged 1 commit into from
Jan 29, 2019
Merged

fix(fromEventPattern): improve typings for fromEventPattern #4496

merged 1 commit into from
Jan 29, 2019

Conversation

evertbouw
Copy link
Contributor

The handler in fromEventPattern is typed as a Function, meaning it takes no arguments. Overwriting this requires a pretty awkward cast. By applying the same change as in #3530 this becomes a lot easier.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7951

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.969%

Totals Coverage Status
Change from base Build 7948: 0.0%
Covered Lines: 5791
Relevant Lines: 5972

💛 - Coveralls

Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

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

LGTM

@benlesh benlesh merged commit 037f53d into ReactiveX:master Jan 29, 2019
@benlesh
Copy link
Member

benlesh commented Jan 29, 2019

Thank you, @evertbouw!

@lock lock bot locked as resolved and limited conversation to collaborators Mar 1, 2019
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.

4 participants