radashi 12.3.2 → 12.3.3

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.
@@ -677,7 +677,7 @@ declare function guard<TFunction extends () => any>(func: TFunction, shouldGuard
677
677
  * ```
678
678
  * @version 12.1.0
679
679
  */
680
- declare function map<T, K>(array: readonly T[], asyncMapFunc: (item: T, index: number) => Promise<K>): Promise<K[]>;
680
+ declare function map<T, K>(array: readonly T[], asyncMapFunc: (item: T, index: number) => PromiseLike<K>): Promise<K[]>;
681
681
 
682
682
  type AbortSignal$1 = {
683
683
  readonly aborted: boolean;
package/dist/radashi.d.ts CHANGED
@@ -677,7 +677,7 @@ declare function guard<TFunction extends () => any>(func: TFunction, shouldGuard
677
677
  * ```
678
678
  * @version 12.1.0
679
679
  */
680
- declare function map<T, K>(array: readonly T[], asyncMapFunc: (item: T, index: number) => Promise<K>): Promise<K[]>;
680
+ declare function map<T, K>(array: readonly T[], asyncMapFunc: (item: T, index: number) => PromiseLike<K>): Promise<K[]>;
681
681
 
682
682
  type AbortSignal$1 = {
683
683
  readonly aborted: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "radashi",
3
- "version": "12.3.2",
3
+ "version": "12.3.3",
4
4
  "type": "module",
5
5
  "description": "The modern, community-first TypeScript toolkit with all of the fast, readable, and minimal utility functions you need. Type-safe, dependency-free, tree-shakeable, fully tested.",
6
6
  "repository": {