UNPKG

408 BTypeScriptView Raw
1import { Observable } from '../Observable';
2import { MonoTypeOperatorFunction, OperatorFunction, TruthyTypesOf } from '../types';
3export declare function single<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>;
4export declare function single<T>(predicate?: (value: T, index: number, source: Observable<T>) => boolean): MonoTypeOperatorFunction<T>;
5//# sourceMappingURL=single.d.ts.map
\No newline at end of file