refactor(facade): Removed unnecessary override and deprecation. (#10761)
This commit is contained in:
parent
2eb4ee8393
commit
bb7221f922
|
@ -79,11 +79,6 @@ export class EventEmitter<T> extends Subject<T> {
|
||||||
|
|
||||||
emit(value?: T) { super.next(value); }
|
emit(value?: T) { super.next(value); }
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated - use .emit(value) instead
|
|
||||||
*/
|
|
||||||
next(value: any) { super.next(value); }
|
|
||||||
|
|
||||||
subscribe(generatorOrNext?: any, error?: any, complete?: any): any {
|
subscribe(generatorOrNext?: any, error?: any, complete?: any): any {
|
||||||
let schedulerFn: any /** TODO #9100 */;
|
let schedulerFn: any /** TODO #9100 */;
|
||||||
let errorFn = (err: any): any /** TODO #9100 */ => null;
|
let errorFn = (err: any): any /** TODO #9100 */ => null;
|
||||||
|
|
|
@ -571,7 +571,6 @@ export declare class EventEmitter<T> extends Subject<T> {
|
||||||
__isAsync: boolean;
|
__isAsync: boolean;
|
||||||
constructor(isAsync?: boolean);
|
constructor(isAsync?: boolean);
|
||||||
emit(value?: T): void;
|
emit(value?: T): void;
|
||||||
/** @deprecated */ next(value: any): void;
|
|
||||||
subscribe(generatorOrNext?: any, error?: any, complete?: any): any;
|
subscribe(generatorOrNext?: any, error?: any, complete?: any): any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue