You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using Agenda in dev mode for sometime now and it works like a glove. I had previously used on a project in production and it worked well then as well.
but for this current project, when I run tsc command I get the following error. I have tried so many things and still unable to figure out the reason. Please help me.
`node_modules/agenda/dist/agenda/define.d.ts:34:47 - error TS2344: Type 'T' does not satisfy the constraint 'JobAttributesData'.
I have been using Agenda in dev mode for sometime now and it works like a glove. I had previously used on a project in production and it worked well then as well.
but for this current project, when I run
tsc
command I get the following error. I have tried so many things and still unable to figure out the reason. Please help me.`node_modules/agenda/dist/agenda/define.d.ts:34:47 - error TS2344: Type 'T' does not satisfy the constraint 'JobAttributesData'.
34 export declare type Processor = ((job: Job) => Promise) | ((job: Job, done: () => void) => void);
~
node_modules/agenda/dist/agenda/define.d.ts:34:31
34 export declare type Processor = ((job: Job) => Promise) | ((job: Job, done: () => void) => void);
~
This type parameter might need an
extends JobAttributesData
constraint.node_modules/agenda/dist/agenda/define.d.ts:34:82 - error TS2344: Type 'T' does not satisfy the constraint 'JobAttributesData'.
34 export declare type Processor = ((job: Job) => Promise) | ((job: Job, done: () => void) => void);
~
node_modules/agenda/dist/agenda/define.d.ts:34:31
34 export declare type Processor = ((job: Job) => Promise) | ((job: Job, done: () => void) => void);
~
This type parameter might need an
extends JobAttributesData
constraint.Found 2 errors in the same file, starting at: node_modules/agenda/dist/agenda/define.d.ts:34`
The text was updated successfully, but these errors were encountered: