Commit Graph

17 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
64fc88601e
Disable npm-naming with dt-header (#34112)
npm-naming is a new rule but the code it runs was already disabled
whenever dt-header was disabled. This change keeps the behaviour the
same.
2019-03-22 09:26:34 -07:00
Chris Jacob
85702dd9f3 agenda - fix typos (#30420) 2018-11-14 15:27:50 -08:00
Matthew Bull
a4717a1f48 Fix agenda constructor options 2018-08-27 14:52:56 +01:00
petrau
d8fda8b1de [agenda] Added 'skipImmediate' field in 'options' argument of Job.repeatEvery method 2018-08-09 11:59:08 +02:00
Vinay Raikar
9e7f1e9d6f Correct the promise resolution type for jobs method (#27649) 2018-07-30 11:11:25 -07:00
Jeff Principe
82a879a7d6 [agenda] Update types to version 2.0.0 (#27583) 2018-07-26 10:07:36 -07:00
Jeff Principe
d26a8158cf [agenda] Support custom job.attrs.data types 2018-03-30 12:32:51 -07:00
Matthew Bull
a01ac1b2ca Correctly type fluent returns for extension 2018-02-20 13:39:48 +00:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
4b2d0110d5
Fix many "import *" that should be "import =" (#23443) 2018-02-05 15:35:41 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Léo Gillot-Lamure
26e0d2c226 Parameter in callback should not be optionnal
Using `?` in this situation would mean that you may, *or may not*, pass the `done` parameter to the callback. It does not mean that the callback can use it or not. You probably always pass the `done` parameter to the callback.

See https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#optional-parameters-in-callbacks

Having `?` here is annoying for the caller when they use --strictNullChecks because they have to use `!` (the non-null assertion) whenever they use `done` to tell the compiler that it actually will never be null.
2017-11-29 09:55:37 +00:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Thomas Corbière
2ce5a2ef2d Adds the agenda property to Job. 2017-08-25 11:26:51 +02:00
Federico Caselli
7fc1644080 [mongodb] Added support for default generic types (#16198)
* Added support for ts2.3 default generic types

* Updated find and findOne

* Capitalized TypeScript Version

* Added missing TypeScript Version: 2.3

* Added TypeScript Version: 2.3 to express-brute-mongo; removed easy-jsend test dependency on mongoose
2017-06-07 10:41:33 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00