[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
This commit is contained in:
Niklas Wulf
2017-06-07 06:37:04 -07:00
committed by Andy
parent 15e9249275
commit d45137018d
8 changed files with 154 additions and 50 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/hapijs/hapi-auth-basic
// Definitions by: AJP <https://github.com/AJamesPhillips>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
// TypeScript Version: 2.3
import * as Hapi from 'hapi';