feat: TypeScript 5.7 (#27857)

Co-authored-by: Kenta Moriuchi <moriken@kimamass.com>
This commit is contained in:
David Sherret 2025-01-31 16:07:42 -05:00 committed by GitHub
parent 8d824182be
commit 8971064546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
255 changed files with 7956 additions and 22274 deletions

View file

@ -31,5 +31,5 @@ interface ArrayConstructor {
* Each return value is awaited before being added to result array.
* @param thisArg Value of 'this' used when executing mapfn.
*/
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
}