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(endWith): will properly type N arguments #5246

Merged
merged 3 commits into from
Jan 22, 2020

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Jan 20, 2020

endWith now supports N-arguments for typings.. HOWEVER, if the user is using the deprecated Scheduler argument, and they are past 6 values as arguments, they will just get an incorrect type back and be forced to cast. This is an extreme corner-case though, so I feel it's worth the risk.

@benlesh benlesh force-pushed the update-endWith-types branch from afef3c8 to d0f8913 Compare January 21, 2020 04:39
@benlesh benlesh merged commit 81ee1f7 into ReactiveX:master Jan 22, 2020
kwonoj pushed a commit to kwonoj/rxjs that referenced this pull request Feb 5, 2020
* fix(endWith): will properly type N arguments

* docs(endWith): minor improvements

* docs(endWith): fix example imports
martinsik pushed a commit to martinsik/rxjs that referenced this pull request Feb 15, 2020
* fix(endWith): will properly type N arguments

* docs(endWith): minor improvements

* docs(endWith): fix example imports
@lock lock bot locked as resolved and limited conversation to collaborators Feb 22, 2020
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.

1 participant