From 966450a2de7d632b6ecc0d0b62bd1309fb67dcd9 Mon Sep 17 00:00:00 2001 From: b3ni15 Date: Thu, 16 Oct 2025 11:18:05 +0200 Subject: [PATCH] refactor: Specify type for active array in upload process --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index eff1e38..aed6c9f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -154,7 +154,7 @@ export default function Home() { }; const queue = [...chunks]; - const active = []; + const active: Promise[] = []; while (queue.length > 0 || active.length > 0) { while (active.length < PARALLEL_UPLOADS && queue.length > 0) { const task = queue.shift()!;