UNPKG

487 BTypeScriptView Raw
1import { AsyncIterableX } from '../../asynciterable/asynciterablex';
2/**
3 * @ignore
4 */
5export declare function distinctUntilChangedProto<TSource, TKey>(this: AsyncIterableX<TSource>, keySelector?: (value: TSource) => TKey | Promise<TKey>, comparer?: (x: TKey, y: TKey) => boolean | Promise<boolean>): AsyncIterableX<TSource>;
6declare module '../../asynciterable/asynciterablex' {
7 interface AsyncIterableX<T> {
8 distinctUntilChanged: typeof distinctUntilChangedProto;
9 }
10}