-
Notifications
You must be signed in to change notification settings - Fork 41
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
rename fromPromise to from #7
Comments
The migration will update your code to rxjs 6 RC https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md#600-terrific-rc3-2018-04-11. |
I'm using rc3 and can't see fromPromise, it seems replaced by from. see:https://github.com/ReactiveX/rxjs/blob/master/src/index.ts |
@istiti good catch! |
@mgechev by the same way use throwError instead _throw which not exist anymore in rxjs |
the first example at https://angular.io/guide/rx-library, ReactiveX/rxjs-tslint#7 PR Close #27443
the first example at https://angular.io/guide/rx-library, ReactiveX/rxjs-tslint#7 PR Close #27443
the first example at https://angular.io/guide/rx-library, ReactiveX/rxjs-tslint#7 PR Close #27443
I had "fromPromise" in my code which is correctly fixed by rxjs-tslint
from :
import {fromPromise} from 'rxjs/observable/fromPromise'
to :
import {fromPromise} from 'rxjs';
Problem is this is not available and renamed to
from
Can we here be more smarter and rename it by the way ? :)
The text was updated successfully, but these errors were encountered: