mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 22:40:21 +00:00
Made data optional.
This commit is contained in:
Vendored
+1
-1
@@ -275,7 +275,7 @@ declare module "agenda" {
|
||||
* @param name The name of the job.
|
||||
* @param data Data to associated with the job.
|
||||
*/
|
||||
create(name: string, data: any): Job;
|
||||
create(name: string, data?: any): Job;
|
||||
|
||||
/**
|
||||
* Find all Jobs matching `query` and pass same back in cb().
|
||||
|
||||
Reference in New Issue
Block a user