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

refactor: Predicate types #5842

Merged
merged 5 commits into from
Nov 10, 2020
Merged

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Oct 20, 2020

Update operators with predicates to properly handle typings with Boolean constructor and predicates that return either always true or always false, depending on the operator.

  • Updates dtslint tests.

Related #5831

@benlesh benlesh force-pushed the refactor/predicate-typings branch from c1a1e3c to 3b772c4 Compare October 23, 2020 16:22
Update operators with predicates to properly handle typings with `Boolean` constructor and predicates that return either always `true` or always `false`, depending on the operator.

- Updates dtslint tests.
- Every now infers correctly when `Boolean` constructor is used.
@benlesh benlesh force-pushed the refactor/predicate-typings branch from b84ee00 to 9092e09 Compare November 5, 2020 01:04
@benlesh
Copy link
Member Author

benlesh commented Nov 5, 2020

Rebased as well.

@benlesh benlesh requested a review from cartant November 5, 2020 01:05
@benlesh benlesh merged commit b736182 into ReactiveX:master Nov 10, 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

Successfully merging this pull request may close these issues.

3 participants