From b312bd09ae1c8b2955b988266665c655e2fb4b54 Mon Sep 17 00:00:00 2001 From: Deyan Totev Date: Tue, 2 Apr 2024 11:29:10 +0300 Subject: [PATCH] fix: wrong ts --- files/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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