Skip to content

Commit

Permalink
use undefined for job input instead of never by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Oct 25, 2024
1 parent d2e0c2b commit eb7b461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/define-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface DefinedJobsOptions {
queue?: Queue | NoConnection<QueueOptions>;
}

export class Job<GlobalInput = never> {
export class Job<GlobalInput = undefined> {
private connection: ConnectionOptions;
private name: string;
queue: Queue<GlobalInput>;
Expand Down

0 comments on commit eb7b461

Please sign in to comment.