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

feat(never): always return the same instance #3249

Merged
merged 1 commit into from
Jan 22, 2018

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Jan 22, 2018

  • never always returns the same Observable instance
  • Remove NeverObservable
  • never return value now typed as Observable<never> (lol)

BREAKING CHANGE: never() always returns the same instance
BREAKING CHANGE: TypeScript typing for never() is now Observable<never> and the function no longer requires a generic type.

Very similar to #3247

@benlesh benlesh requested a review from kwonoj January 22, 2018 22:10
@rxjs-bot
Copy link

rxjs-bot commented Jan 22, 2018

Messages
📖

CJS: 1400.1KB, global: 749.6KB (gzipped: 120.6KB), min: 145.3KB (gzipped: 31.4KB)

Generated by 🚫 dangerJS

@coveralls
Copy link

coveralls commented Jan 22, 2018

Coverage Status

Coverage decreased (-0.002%) to 97.081% when pulling 5840502 on benlesh:never-fn into 1548393 on ReactiveX:master.

- never always returns the same Observable instance
- Remove NeverObservable
- never return value now typed as `Observable<never>` (lol)

BREAKING CHANGE: `never()` always returns the same instance
BREAKING CHANGE: TypeScript typing for `never()` is now `Observable<never>` and the function no longer requires a generic type.
@benlesh benlesh merged commit d57fa52 into ReactiveX:master Jan 22, 2018
acutmore pushed a commit to youviewtv/rxjs-5 that referenced this pull request Jan 23, 2018
- never always returns the same Observable instance
- Remove NeverObservable
- never return value now typed as `Observable<never>` (lol)

BREAKING CHANGE: `never()` always returns the same instance
BREAKING CHANGE: TypeScript typing for `never()` is now `Observable<never>` and the function no longer requires a generic type.
(cherry picked from commit d57fa52)
@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