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: use N-args tuple for combineLatestWith and zipWith #5257

Merged
merged 4 commits into from
Jan 27, 2020

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Jan 23, 2020

Description:

This PR changes combineLatestWith and zipWith by:

  • removing the overload signatures; and
  • replacing them with a single signature that uses the ObservedValueTupleFromArray and Unshift types.

The return type for N-args usage is now a correctly-typed tuple - instead of an array with union-type elements.

Related issue PR: #5254

@cartant cartant requested a review from benlesh January 23, 2020 04:45
@benlesh benlesh merged commit 3e282a5 into ReactiveX:master Jan 27, 2020
kwonoj pushed a commit to kwonoj/rxjs that referenced this pull request Feb 5, 2020
…tiveX#5257)

* refactor: use renamed ObservedValueUnionFromArray

* fix: use non-union n-args combineLatestWith sig

* fix: use non-union n-args zipWith sig

* chore: kick CI ... again
martinsik pushed a commit to martinsik/rxjs that referenced this pull request Feb 15, 2020
…tiveX#5257)

* refactor: use renamed ObservedValueUnionFromArray

* fix: use non-union n-args combineLatestWith sig

* fix: use non-union n-args zipWith sig

* chore: kick CI ... again
@lock lock bot locked as resolved and limited conversation to collaborators Feb 28, 2020
@cartant cartant deleted the with-n-args branch September 24, 2020 07:09
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.

2 participants