Skip to content

Commit

Permalink
fix(typings): return type of getJobCountByTypes (#2622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjythebee committed Jul 5, 2023
1 parent 4b8a386 commit 47722ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
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 47722ed

Please sign in to comment.