distinctUntilChanged.ts 316 Bytes

import { Observable } from '../../Observable';
import { distinctUntilChanged } from '../../operator/distinctUntilChanged';

Observable.prototype.distinctUntilChanged = distinctUntilChanged;

declare module '../../Observable' {
  interface Observable<T> {
    distinctUntilChanged: typeof distinctUntilChanged;
  }
}