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

[rxjs-core] Feature request: return tuples from withHistory() #5

Closed
eric-simonton-sama opened this issue Jun 14, 2019 · 0 comments
Closed

Comments

@eric-simonton-sama
Copy link
Collaborator

So that e.g. this satisfies typing:

number$.pipe(withHistory(1)).subscribe(([a, b]: [number, number]) => ...)

and this breaks it:

number$.pipe(withHistory(1)).subscribe(([a, b, c]: [number, number, number]) => ...)
@ersimont ersimont transferred this issue from simontonsoftware/s-rxjs-utils Nov 8, 2020
@ersimont ersimont changed the title Feature request: return tuples from withHistory() [rxjs-core] Feature request: return tuples from withHistory() Nov 8, 2020
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

No branches or pull requests

1 participant