fix(typings): return type of getJobCountByTypes (#2622)

This commit is contained in:
Fayelure
2023-07-05 21:30:38 +12:00
committed by GitHub
parent 4b8a386ace
commit 47722ed791
Vendored
+1 -1
View File
@@ -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.