work.suroh.tk/node_modules/rxjs/operator/defaultIfEmpty.d.ts

4 lines
245 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Observable } from '../Observable';
export declare function defaultIfEmpty<T>(this: Observable<T>, defaultValue?: T): Observable<T>;
export declare function defaultIfEmpty<T, R>(this: Observable<T>, defaultValue?: R): Observable<T | R>;