mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 04:00:33 +08:00
Merge pull request #23719 from hisorange/bull-fix
Add missing limit option to bull package.
This commit is contained in:
5
types/bull/index.d.ts
vendored
5
types/bull/index.d.ts
vendored
@@ -167,6 +167,11 @@ declare namespace Bull {
|
||||
* End date when the repeat job should stop repeating
|
||||
*/
|
||||
endDate?: Date | string | number;
|
||||
|
||||
/**
|
||||
* Number of times the job should repeat at max.
|
||||
*/
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
interface JobOptions {
|
||||
|
||||
Reference in New Issue
Block a user