Commit Graph
19 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Justin Simms c423899d98 Fix the remaining failing tests and add promise return types for async functions. 2018-02-07 22:35:26 -06:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Timon van Spronsen 3bcf6f3ab2 Change Boom version for dependents 2018-01-02 09:27:33 +01:00
Andy 954ee278de Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08: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
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Andy 1ee9a51f35 Avoid unnecessary /// <reference types="node" /> in tests (#17226) 2017-06-15 14:53:16 -07:00
Niklas Wulf d45137018d [Hapi] Fix input and response validation function signatures (#16802)
* [Hapi] Fix input and response validation function signatures

Fixes #16750

* [Hapi] Allow custom validation options in route input and response

* [Hapi] Adjust validation contexts to match Hapi version 16.1.1

* [Hapi] Adjust test/route/validate.ts to match newest changes

* [Hapi] Add custom options to response validation test

* [Hapi] Update TypeScript version to 2.3 in packages that import Hapi

* [Hapi] Clarify documentation on validation function value, allow null
2017-06-07 06:37:04 -07:00
Alexander James Phillips dc6224ad1c Follow instructions from failed test to set tsconfig types to empty array 2017-05-07 19:11:13 +01:00
Alexander James Phillips ae60b8ca46 Move hapi dependencies to own modules
catbox, h2o2, mime-db, mimos, podium, shot, vision
Add tests where possible.
Add note regarding apparent failure of some nested object literals to enforce typings
2017-05-07 15:04:37 +01:00
Alexander James Phillips f20d1e1c2c Update definition for hapi 16.1
Use Object not object. app and plugins optional in server.inject options
Fix merge conlict with master
Type IPluginFunction. Simplify Plugin. Add backwards incompatibility note.
  Thanks mmc41 and jasonswearingen.
Remove Promise.
  Thanks mmc41.
Fix merge conflict with master
Renaming of all interfaces to remove preceding I in preparation of dtslint
Fix http links in docs and remove old I interface names
2e119e63a  Add example tests of server.decorate on server and request
2e119e63a  Improve comments regarding server.decorate
0d6b28656  Allow response.state to accept object
0d6b28656  request.response should also be responase or null.
0d6b28656  Allow some cookie config fields to be nullable.
Fix merge conflict with master again
2017-05-05 12:43:13 +01:00
Alexander James Phillips e76b06fdbf Temporarily remove tslint 2017-04-04 15:03:59 +01:00
Alexander James Phillips 9ed0009123 Correct union type for directory handler path function 2017-04-04 14:28:27 +01:00
Alexander James Phillips 8cc9926805 Correct documentation of path option of directory handler 2017-04-03 20:16:47 +01:00
Alexander James Phillips b33942b17b Update definition for inert 4.2 and add more tests 2017-04-03 20:03:43 +01:00
Andy ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00