Skip to content

Commit

Permalink
chore: fix dtslint
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Feb 26, 2020
1 parent 8525723 commit 8f1731d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/internal/operators/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ import { NotFoundError } from '../util/NotFoundError';

const defaultPredicate = () => true;

export function single<T>(): MonoTypeOperatorFunction<T>;
export function single<T>(
predicate: (value: T, index: number) => boolean
): MonoTypeOperatorFunction<T>;
/** @deprecated Providing `source` via the third argument to the predicate will be removed in upcoming versions. Use a closure. */
export function single<T>(
predicate: (value: T, index: number, source: Observable<T>) => boolean
): MonoTypeOperatorFunction<T>;

/**
* Returns an observable that asserts that only one value is
* emitted from the observable that matches the predicate. If no
Expand Down

0 comments on commit 8f1731d

Please sign in to comment.