-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Observer.create, Observable.from and so on not working with Typescript #2429
Comments
For creation method, |
@kwonoj
In fact, in my experience, since JS does not have any kind of control on types, with JS you can still use Rx.Observer.create() hence generating confusion (as you can see here). Somehow the developers should forbid the use of Observer.create() or throw a warning via console.log() that the use of Observer.create() has been deprecated in favor of Subscriber.create() as specified in the reference manual for migration that you kindly attached. Thank you for your answer. Cheers, |
I fired up |
@Podlas29, I am sorry, probably I was not clear enough in my previous reply. Since these changes to the library are not enough highlighted, advertised, whatever, until the links to the new version of the website are fixed and the docs updated, as per this bug report, it's inevitable that more people are going to deal with the same problems. I hope I explained myself better this time. Thank you. Cheers, |
While I don't get the idea of |
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. |
I am a novice in RxJS, but I think this might be a consequence of #2369
Anyways, your help is appreciated, even because I do not know where to look for updated docs or info on this matter.
RxJS version: 5
**Code to reproduce: https://github.com/Deviad/fbmetascraperandcrudapits
Expected behavior: I should be able to use static methods like from, create using Typescript as in plain vanilla JS.
Actual behavior: I cannot use functions like Observer.create (have to use Subscriber.create instead), Observable.from() and others.
Additional information:
The text was updated successfully, but these errors were encountered: