Skip to content

Commit

Permalink
fix: fixed the type for job.save function (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogabudak committed Nov 11, 2023
1 parent 948a268 commit 77a5dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -124,7 +124,7 @@ declare namespace BeeQueue {
delayUntil(dateOrTimestamp: Date | number): this;
timeout(milliseconds: number): this;
save(): Promise<this>;
save(cb: (job: this) => void): void;
save(cb: (err: Error, job: this) => void): void;
reportProgress(p: any): void;
remove(): Promise<this>;
remove(cb: (job: this) => void): void;
Expand Down

0 comments on commit 77a5dac

Please sign in to comment.