mirror of
https://github.com/OptimalBits/bull.git
synced 2026-07-05 18:11:11 +08:00
fix(typings): return type of getJobCountByTypes (#2622)
This commit is contained in:
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user