From 7b5682c2412e626dad088fa6917ee42a5e18ff86 Mon Sep 17 00:00:00 2001 From: hisorange Date: Fri, 16 Feb 2018 21:10:24 +0100 Subject: [PATCH] Add missing limit option --- types/bull/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts index 8a12db0fd7..97cb7a23df 100644 --- a/types/bull/index.d.ts +++ b/types/bull/index.d.ts @@ -164,6 +164,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 {