mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-22 11:22:53 +08:00
Made data optional.
This commit is contained in:
1 parent
cde004b19a
commit
09671af7fe
1 file changed
+1
-1
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