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(forkJoin): add type signature for single observable with selector #2356

Merged
merged 1 commit into from
Feb 14, 2017
Merged

fix(forkJoin): add type signature for single observable with selector #2356

merged 1 commit into from
Feb 14, 2017

Conversation

mpodlasin
Copy link
Contributor

Description

Previously there was no adequate type signature for use-case (which is handled properly by operator):

Observable.forkJoin(observable, selector);

Use-case

Observable.forkJoin(observable)

is properly handled by signature

  static create<T>(...sources: SubscribableOrPromise<T>[]): Observable<T[]>;

so I did not add signature for that use-case.

Related
Closes #2347

Add type signature for using forkJoin with single observable as first parameter
and selector function as second parameter, so that typings would not prevent
usage which is permitted and properly handled by operator.

Closes #2347
@coveralls
Copy link

coveralls commented Feb 10, 2017

Coverage Status

Coverage remained the same at 97.689% when pulling 7983b91 on Podlas29:fork-join-test-case-type-definition into 31dfc73 on ReactiveX:master.

@jayphelps jayphelps merged commit 71704b2 into ReactiveX:master Feb 14, 2017
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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

4 participants