summaryrefslogtreecommitdiff
path: root/util/async.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/async.ts')
-rw-r--r--util/async.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/async.ts b/util/async.ts
index eaf97dd7b..6e2db69dc 100644
--- a/util/async.ts
+++ b/util/async.ts
@@ -100,7 +100,7 @@ export async function collectUint8Arrays(
}
const collected = new Uint8Array(length);
let offset = 0;
- for (let chunk of chunks) {
+ for (const chunk of chunks) {
collected.set(chunk, offset);
offset += chunk.length;
}