refactor(facade): use rxjs package
move to new RxJS distribution. BREAKING CHANGE: RxJS imports now are via `rxjs` instead of `@reactivex/rxjs` Individual operators can be imported `import 'rxjs/operators/map'`
This commit is contained in:
committed by
Jeremy Elbourn
parent
a16ac84840
commit
5514dc19d9
@@ -4,11 +4,16 @@ import {global, isPresent, noop} from 'angular2/src/facade/lang';
|
||||
import {PromiseWrapper, Promise, PromiseCompleter} from 'angular2/src/facade/promise';
|
||||
export {PromiseWrapper, Promise, PromiseCompleter} from 'angular2/src/facade/promise';
|
||||
|
||||
import {Subject} from '@reactivex/rxjs/dist/cjs/Subject';
|
||||
import {Observable as RxObservable} from '@reactivex/rxjs/dist/cjs/Observable';
|
||||
import {Subscription} from '@reactivex/rxjs/dist/cjs/Subscription';
|
||||
import {Operator} from '@reactivex/rxjs/dist/cjs/Operator';
|
||||
export {Subject} from '@reactivex/rxjs/dist/cjs/Subject';
|
||||
import {Subject} from 'rxjs/Subject';
|
||||
import {Observable as RxObservable} from 'rxjs/Observable';
|
||||
import {Subscription} from 'rxjs/Subscription';
|
||||
import {Operator} from 'rxjs/Operator';
|
||||
|
||||
import 'rxjs/observable/fromPromise';
|
||||
import 'rxjs/operators/toPromise';
|
||||
|
||||
export {Subject} from 'rxjs/Subject';
|
||||
|
||||
|
||||
|
||||
export namespace NodeJS {
|
||||
|
||||
Reference in New Issue
Block a user