fix(common) add interface PipeTransform to Async pipe (#14049)

PR Close #14049
This commit is contained in:
WilliamKoza
2017-01-21 11:27:42 +01:00
committed by Miško Hevery
parent 579567ca79
commit 94b62c963d
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
export declare const APP_BASE_HREF: InjectionToken<string>;
/** @stable */
export declare class AsyncPipe implements OnDestroy {
export declare class AsyncPipe implements OnDestroy, PipeTransform {
constructor(_ref: ChangeDetectorRef);
ngOnDestroy(): void;
transform(obj: Observable<any> | Promise<any> | EventEmitter<any>): any;