distinctUntilChanged.d.ts 312B

1234
  1. import { Observable } from '../Observable';
  2. export declare function distinctUntilChanged<T>(this: Observable<T>, compare?: (x: T, y: T) => boolean): Observable<T>;
  3. export declare function distinctUntilChanged<T, K>(this: Observable<T>, compare: (x: K, y: K) => boolean, keySelector: (x: T) => K): Observable<T>;