parent
9277142d54
commit
aebec4b156
|
@ -97,7 +97,7 @@ export class EventEmitter<T> extends Subject<T> {
|
||||||
* @param complete When supplied, a custom handler for a completion
|
* @param complete When supplied, a custom handler for a completion
|
||||||
* notification from this emitter.
|
* notification from this emitter.
|
||||||
*/
|
*/
|
||||||
subscribe(generatorOrNext?: any, error?: any, complete?: any): any {
|
subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription {
|
||||||
let schedulerFn: (t: any) => any;
|
let schedulerFn: (t: any) => any;
|
||||||
let errorFn = (err: any): any => null;
|
let errorFn = (err: any): any => null;
|
||||||
let completeFn = (): any => null;
|
let completeFn = (): any => null;
|
||||||
|
|
|
@ -313,7 +313,7 @@ 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;
|
||||||
subscribe(generatorOrNext?: any, error?: any, complete?: any): any;
|
subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ExistingProvider extends ExistingSansProvider {
|
export interface ExistingProvider extends ExistingSansProvider {
|
||||||
|
|
Loading…
Reference in New Issue