mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Fix types in kue tests
This commit is contained in:
@@ -85,7 +85,7 @@ jobs.create('email', {
|
||||
|
||||
jobs.promote();
|
||||
|
||||
jobs.process('email', 10, function(job, done) {
|
||||
jobs.process('email', 10, function(job: kue.Job, done: Function) {
|
||||
setTimeout(function() {
|
||||
done();
|
||||
}, Math.random() * 5000);
|
||||
|
||||
Reference in New Issue
Block a user