Skip to content

Commit 69e01d0

Browse files
committed
chore: fix 'e' implicitly has type 'any'
1 parent cad093e commit 69e01d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ async function runParallel(
8383
ret.push(p)
8484

8585
if (maxConcurrency <= source.length) {
86-
const e = p.then(() => executing.splice(executing.indexOf(e), 1))
86+
const e: Promise<any> = p.then(() =>
87+
executing.splice(executing.indexOf(e), 1)
88+
)
8789
executing.push(e)
8890
if (executing.length >= maxConcurrency) {
8991
await Promise.race(executing)

0 commit comments

Comments
 (0)