diff --git a/content/techniques/queues.md b/content/techniques/queues.md index f2839819b3..3fe0e163eb 100644 --- a/content/techniques/queues.md +++ b/content/techniques/queues.md @@ -219,7 +219,7 @@ export class AudioConsumer { @Process() async transcode(job: Job) { let progress = 0; - for (i = 0; i < 100; i++) { + for (let i = 0; i < 100; i++) { await doSomething(job.data); progress += 1; await job.progress(progress);