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 empty object type in combineLatest/forkJoin sigs #5832

Merged
merged 8 commits into from
Oct 25, 2020

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Oct 15, 2020

Description:

This PR adds failing tests to show that the current signatures for combineLatest and forkJoin depend upon the excess-properties behaviour that TypeScript applies to object literals and fixes the problem by using a proper empty-object type in the function signatures.

See this comment.

Related issue (if exists): None

@benlesh
Copy link
Member

benlesh commented Oct 25, 2020

LGTM. Needs rebased. You can merge when ready.

@cartant cartant merged commit 22aaaa2 into ReactiveX:master Oct 25, 2020
@cartant cartant deleted the empty-object-type branch November 6, 2020 06:25
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

Successfully merging this pull request may close these issues.

2 participants