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(defer): use overload sig for void factory #4810

Merged
merged 2 commits into from
Jun 4, 2019

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented May 25, 2019

Description:

This PR adds a failing dtslint test and then fixes the problem it exposes by separating the defer signatures, so that the signature that accepts a factory that returns void returns Observable<never>.

Related issue (if exists): #4804

@benlesh benlesh merged commit 362d1d4 into ReactiveX:master Jun 4, 2019
benlesh pushed a commit that referenced this pull request Jun 4, 2019
* test(defer): add failing dtslint test

* fix(defer): use overload sig for void factory

Closes #4804
@lock lock bot locked as resolved and limited conversation to collaborators Jul 5, 2019
@cartant cartant deleted the issue-4804 branch September 24, 2020 07:08
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