UNPKG

@yyasinaslan/easyform

Version:
16 lines (15 loc) 561 B
import { Observable } from "rxjs"; import { OnDestroy, PipeTransform } from "@angular/core"; import * as i0 from "@angular/core"; /** * Observe both Observable and Signal values */ export declare class ObservePipe<T> implements PipeTransform, OnDestroy { private cdr; private asyncPipe; constructor(); transform(value: T | Observable<T> | undefined | null): T | null; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ObservePipe<any>, never>; static ɵpipe: i0.ɵɵPipeDeclaration<ObservePipe<any>, "observe", true>; }