mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08: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