File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ export class Agenda extends EventEmitter {
285
285
) : Promise < Job < void > [ ] > ;
286
286
async every (
287
287
interval : string | number ,
288
- names : string ,
288
+ name : string ,
289
289
data ?: undefined ,
290
290
options ?: { timezone ?: string ; skipImmediate ?: boolean }
291
291
) : Promise < Job < void > > ;
@@ -297,7 +297,7 @@ export class Agenda extends EventEmitter {
297
297
) : Promise < Job < DATA > [ ] > ;
298
298
async every < DATA = any > (
299
299
interval : string | number ,
300
- names : string ,
300
+ name : string ,
301
301
data : DATA ,
302
302
options ?: { timezone ?: string ; skipImmediate ?: boolean }
303
303
) : Promise < Job < DATA > > ;
@@ -345,7 +345,7 @@ export class Agenda extends EventEmitter {
345
345
names : string [ ] ,
346
346
data : DATA
347
347
) : Promise < Job < DATA > [ ] > ;
348
- async schedule < DATA = any > ( when : string | Date , names : string , data : DATA ) : Promise < Job < DATA > > ;
348
+ async schedule < DATA = any > ( when : string | Date , name : string , data : DATA ) : Promise < Job < DATA > > ;
349
349
async schedule ( when : string | Date , names : string | string [ ] , data ?: any ) {
350
350
const createJob = async name => {
351
351
const job = this . create ( name , data ) ;
You can’t perform that action at this time.
0 commit comments