Skip to content

Commit

Permalink
fix return type of getJobCountByTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjythebee authored Jul 4, 2023
1 parent 4b8a386 commit 6ca3edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ declare namespace Bull {
/**
* Returns a promise that resolves with the job counts for the given queue of the given job statuses.
*/
getJobCountByTypes(types: JobStatus[] | JobStatus): Promise<JobCounts>;
getJobCountByTypes(types: JobStatus[] | JobStatus): Promise<number>;

/**
* Returns a promise that resolves with the quantity of completed jobs.
Expand Down

0 comments on commit 6ca3edc

Please sign in to comment.