Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
529 bytes
|
Line | |
---|
1 | import { Observable } from '../Observable';
|
---|
2 | import { OperatorFunction } from '../../internal/types';
|
---|
3 | export declare function first<T, D = T>(predicate?: null, defaultValue?: D): OperatorFunction<T, T | D>;
|
---|
4 | export declare function first<T, S extends T>(predicate: (value: T, index: number, source: Observable<T>) => value is S, defaultValue?: S): OperatorFunction<T, S>;
|
---|
5 | export declare function first<T, D = T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, defaultValue?: D): OperatorFunction<T, T | D>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.