Closed robgraeber closed 6 years ago
https://github.com/timgit/pg-boss/blob/master/types.d.ts#L74
The done() callback's parameters should be typed as optional, typescript users right now have to do: job.done(null, null)
job.done(null, null)
PRs are encouraged for typescript. Pretty much everything you see here are from my dedicated typescript PR team. 😁
@timgit you got it: https://github.com/timgit/pg-boss/pull/66
Closed in https://github.com/timgit/pg-boss/pull/66
https://github.com/timgit/pg-boss/blob/master/types.d.ts#L74
The done() callback's parameters should be typed as optional, typescript users right now have to do:
job.done(null, null)