typescript 5.7.0-dev.20240903 → 5.7.0-dev.20240911
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/lib.esnext.array.d.ts +1 -1
- package/lib/tsc.js +228 -164
- package/lib/typescript.d.ts +10 -2
- package/lib/typescript.js +477 -313
- package/package.json +13 -14
|
@@ -31,5 +31,5 @@ interface ArrayConstructor {
|
|
|
31
31
|
* Each return value is awaited before being added to result array.
|
|
32
32
|
* @param thisArg Value of 'this' used when executing mapfn.
|
|
33
33
|
*/
|
|
34
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T
|
|
34
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
35
35
|
}
|