diff --git a/files/index.d.ts b/files/index.d.ts index 1f7a6e7c..53da8c09 100644 --- a/files/index.d.ts +++ b/files/index.d.ts @@ -7003,9 +7003,8 @@ Notes: // @SINGLE_MARKER export function mapToObjectAsync(fn: (input: T) => Promise, list: readonly T[]): Promise; export function mapToObjectAsync(fn: (input: T) => Promise): (list: readonly T[]) => Promise; -export function mapToObjectAsync(fn: (input: T) => Promise, list: T[]): Promise; -export function mapToObjectAsync(fn: (input: T) => Promise): (list: T[]) => Promise; - +export function mapToObjectAsync(fn: (input: T) => object|false, list: T[]): U; +export function mapToObjectAsync(fn: (input: T) => object|false): (list: T[]) => U; /* Method: mapKeys