We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41257cb commit 6d7c4eeCopy full SHA for 6d7c4ee
src/utils/promises.ts
@@ -1,7 +1,7 @@
1
import { arrayChunk } from './arrays'
2
3
type pOptions = { signal: AbortSignal }
4
-type pEachCallback = (value: any, options?: pOptions) => Promise<void>
+type pEachCallback = (value: any, options?: pOptions) => Promise<any>
5
6
export async function pEach<T>(
7
array: T[],
0 commit comments