Skip to content

Commit d9ffaa7

Browse files
committed
build: fix dts generation
1 parent 9d72ac3 commit d9ffaa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class Workflow<RunInput, Input, Output> {
6262
async 'work'(opts?: WorkflowWorkerOptions<Input>) {
6363
const queue = await this.getOrCreateQueue()
6464

65-
const worker = new Worker<WorkflowJobPayloadInternal<Input>>({
65+
const worker: Worker<WorkflowJobPayloadInternal<Input>> = new Worker({
6666
handler: async (job) => {
6767
Settings.logger?.info?.(`[${this.opts.id}] Processing job ${job.id} `)
6868
const jobId = job.id

0 commit comments

Comments
 (0)