Fix issues identified with the Hapi 17 update (#23691)

* Fix issues identified with the Hapi 17 update

This commit introduces a variety of changes, primarily fixes, but it
also collapses the typings into a single file.  Collapsing it into a
single file means simpler augmentation of types, which is common in
Hapi.

Thank you to SimonSchick for contributing a number of changes here.

* fix response property
This commit is contained in:
Justin Simms
2018-02-22 07:06:11 -08:00
committed by Andy
parent 425ca63a9e
commit 2056f990d0
84 changed files with 4103 additions and 3799 deletions
@@ -39,5 +39,5 @@ server.register(Basic).then(() => {
server.auth.strategy('simple', 'basic', { validate });
server.auth.default('simple');
server.route({ method: 'GET', path: '/', config: { auth: 'simple' } });
server.route({ method: 'GET', path: '/', options: { auth: 'simple' } });
});