From 1b31a4a131a4189b534c2dff3d5dea6f6fd1432d Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Sat, 16 May 2026 14:39:33 +0200 Subject: [PATCH] Typings: annotate job param as any in queue worker --- app/lib/queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/queue.ts b/app/lib/queue.ts index ebe2c87..b3d24c0 100644 --- a/app/lib/queue.ts +++ b/app/lib/queue.ts @@ -16,7 +16,7 @@ export const queueScheduler = new QueueScheduler("analyze", { connection: redis // Worker to process analyze jobs export const worker = new Worker( "analyze", - async (job) => { + async (job: any) => { console.log("[queue] Processing analyze job", job.id, job.data.ticker); const { ticker, input } = job.data as { ticker: string; input: any }; const apiKey = process.env.OPENROUTER_API_KEY;