Skip to content

Commit

Permalink
chore: remove unused type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Mar 3, 2021
1 parent 5bc1b3e commit c6ba979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api_guard/dist/types/operators/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export declare function distinctUntilChanged<T, K>(comparator: (previous: K, cur
export declare function distinctUntilKeyChanged<T>(key: keyof T): MonoTypeOperatorFunction<T>;
export declare function distinctUntilKeyChanged<T, K extends keyof T>(key: K, compare: (x: T[K], y: T[K]) => boolean): MonoTypeOperatorFunction<T>;

export declare function elementAt<T, D>(index: number): MonoTypeOperatorFunction<T>;
export declare function elementAt<T>(index: number): MonoTypeOperatorFunction<T>;
export declare function elementAt<T, D>(index: number, defaultValue: D): OperatorFunction<T, T | D>;

export declare function endWith<T>(scheduler: SchedulerLike): MonoTypeOperatorFunction<T>;
Expand Down
2 changes: 1 addition & 1 deletion src/internal/operators/elementAt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { throwIfEmpty } from './throwIfEmpty';
import { defaultIfEmpty } from './defaultIfEmpty';
import { take } from './take';

export function elementAt<T, D>(index: number): MonoTypeOperatorFunction<T>;
export function elementAt<T>(index: number): MonoTypeOperatorFunction<T>;
export function elementAt<T, D>(index: number, defaultValue: D): OperatorFunction<T, T | D>;

/**
Expand Down

0 comments on commit c6ba979

Please sign in to comment.