fix(core): make .toRx() return Subject

this was broken in the original great RxNext migration.
fixes #4521

Closes #4540
This commit is contained in:
Rob Wormald 2015-10-05 18:04:28 -07:00
parent ba6e0e11fa
commit 4a36fd8203
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export class EventEmitter extends Observable {
() => generator.return ? generator.return () : null); () => generator.return ? generator.return () : null);
} }
toRx(): any { return this; } toRx(): any { return this._subject; }
next(value: any) { this._subject.next(value); } next(value: any) { this._subject.next(value); }