Skip to content

Commit

Permalink
fix: wrong ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Deyan Totev committed Apr 2, 2024
1 parent 1d8507b commit b312bd0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7003,9 +7003,8 @@ Notes:
// @SINGLE_MARKER
export function mapToObjectAsync<T, U extends object>(fn: (input: T) => Promise<U|false>, list: readonly T[]): Promise<U>;
export function mapToObjectAsync<T, U extends object>(fn: (input: T) => Promise<U|false>): (list: readonly T[]) => Promise<U>;
export function mapToObjectAsync<T, U>(fn: (input: T) => Promise<Output[keyof Output]|false>, list: T[]): Promise<U>;
export function mapToObjectAsync<T, U>(fn: (input: T) => Promise<Output[keyof Output]|false>): (list: T[]) => Promise<U>;

export function mapToObjectAsync<T, U>(fn: (input: T) => object|false, list: T[]): U;
export function mapToObjectAsync<T, U>(fn: (input: T) => object|false): (list: T[]) => U;
/*
Method: mapKeys
Expand Down

0 comments on commit b312bd0

Please sign in to comment.