fix(core): make .toRx() return Subject
this was broken in the original great RxNext migration. fixes #4521 Closes #4540
This commit is contained in:
parent
ba6e0e11fa
commit
4a36fd8203
|
@ -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); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue