From 69768dc0c3a5264d04b084ecff683fdc4e4af10b Mon Sep 17 00:00:00 2001 From: Sibelius Seraphini Date: Fri, 14 Sep 2018 13:05:35 -0300 Subject: [PATCH] feat(kue): add missing workerId and _error to kue Job, fix #28760 (#28762) * feat(kue): add missing workerId and _error to kue Job, fix #28760 * use private for _error --- types/kue/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/kue/index.d.ts b/types/kue/index.d.ts index 4117ef0a82..9153039ff0 100644 --- a/types/kue/index.d.ts +++ b/types/kue/index.d.ts @@ -78,6 +78,8 @@ export declare class Job extends events.EventEmitter { public failed_at: string | number; public started_at: string | number; public client: redisClientFactory.RedisClient; + public workerId: string; + private _error: string; private _max_attempts; static priorities: Priorities;