refactor(facade): Removed unnecessary override and deprecation. (#10761)

This commit is contained in:
Chuck Jazdzewski 2016-08-12 17:41:12 -07:00 committed by vikerman
parent 2eb4ee8393
commit bb7221f922
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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;
} }