Commit Graph

8 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Garth Kidd
3638491eae Add typings for reject/rejects from code 5.0.0
Documentation:

> * [`await reject([type], [message])`][artm]
>
> Asserts that the `Promise` reference value rejects with an exception
> when called

[artm]: https://github.com/hapijs/code/blob/v5.0.0/API.md#await-rejecttype-message
2018-02-08 22:43:16 +11:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
b6c343f2b3 Apply new lint rules to yet more packages (#15548)
* Apply new lint rules to yet more packages

* Fix leaflet lint
2017-03-31 11:01:26 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00