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

TypeError: Rx.Observable.from(...).distinct is not a function #1647

Closed
miguelmota opened this issue Apr 25, 2016 · 5 comments
Closed

TypeError: Rx.Observable.from(...).distinct is not a function #1647

miguelmota opened this issue Apr 25, 2016 · 5 comments

Comments

@miguelmota
Copy link
Contributor

RxJS version:

5.0.0-beta.6

Code to reproduce:

const Rx = require('rxjs/Rx');

Rx.Observable.from([1,2,2,3])
.distinct()
.subscribe(x => console.log(x));

Expected behavior:

[1,2,3]

Actual behavior:

TypeError: Rx.Observable.from(...).distinct is not a function

Additional information:

@kwonoj
Copy link
Member

kwonoj commented Apr 25, 2016

Please import Rx.KitchenSink for extended operator (#1560 (comment)) .

@kwonoj kwonoj closed this as completed Apr 25, 2016
@miguelmota
Copy link
Contributor Author

Thanks for the quick reply, is that in the documentation somewhere?

@kwonoj
Copy link
Member

kwonoj commented Apr 25, 2016

Documentation is currently evolving, as far as I remember those detail's are not yet published into documentation.

@staltz
Copy link
Member

staltz commented Apr 26, 2016

Related: #1650

@lock
Copy link

lock bot commented Jun 7, 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 7, 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

No branches or pull requests

3 participants