UNPKG

@acutmore/rxjs

Version:

Reactive Extensions for modern JavaScript

4 lines (3 loc) 265 B
import { OperatorFunction, MonoTypeOperatorFunction } from '../../internal/types'; export declare function defaultIfEmpty<T>(defaultValue?: T): MonoTypeOperatorFunction<T>; export declare function defaultIfEmpty<T, R>(defaultValue?: R): OperatorFunction<T, T | R>;