7 lines
349 B
Plaintext
7 lines
349 B
Plaintext
import { Observable } from './Observable';
|
|
export interface FirstValueFromConfig<T> {
|
|
defaultValue: T;
|
|
}
|
|
export declare function firstValueFrom<T, D>(source: Observable<T>, config: FirstValueFromConfig<D>): Promise<T | D>;
|
|
export declare function firstValueFrom<T>(source: Observable<T>): Promise<T>;
|
|
//# sourceMappingURL=firstValueFrom.d.ts.map |