fix(http): refactor 'require' statements to 'import' declarations for Rx
Looks like this is some old leftover code from the times when Rx didn't distribute typings via npm. Closes #5287
This commit is contained in:
@ -5,8 +5,7 @@ import {ReadyStates} from '../enums';
|
||||
import {Connection, ConnectionBackend} from '../interfaces';
|
||||
import {isPresent} from 'angular2/src/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||
var Rx = require('@reactivex/rxjs/dist/cjs/Rx');
|
||||
let {Subject, ReplaySubject} = Rx;
|
||||
import {Subject, ReplaySubject} from '@reactivex/rxjs/dist/cjs/Rx';
|
||||
|
||||
/**
|
||||
*
|
||||
|
Reference in New Issue
Block a user