Skip to content

Commit

Permalink
[dsch] minor fix for thenApply
Browse files Browse the repository at this point in the history
  • Loading branch information
DScheglov committed Sep 22, 2024
1 parent 6324ae6 commit b21717e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const thenApply =
throw new TypeError('Result.value is not a function', { cause: result });
}

const argValues = [] as any[];
const argValues = [] as ResolveAwaitedOks<PR> & any[];
const awaitedArgs = await Promise.all(args);

for (const arg of awaitedArgs) {
Expand Down

0 comments on commit b21717e

Please sign in to comment.