hapi - request's pre & preResponses type fix (#27631)

This commit is contained in:
ondratra
2018-08-01 21:07:58 +02:00
committed by Sheetal Nandi
parent 3f5b9e5f0e
commit 404e051500

View File

@@ -451,7 +451,7 @@ export interface Request extends Podium {
* An object where each key is the name assigned by a route pre-handler methods function. The values are the raw values provided to the continuation function as argument. For the wrapped response
* object, use responses.
*/
readonly pre: Util.Dictionary<object>;
readonly pre: Util.Dictionary<any>;
/**
* Access: read / write (see limitations below).
@@ -463,7 +463,7 @@ export interface Request extends Podium {
/**
* Same as pre but represented as the response object created by the pre method.
*/
readonly preResponses: Util.Dictionary<object>;
readonly preResponses: Util.Dictionary<any>;
/**
* By default the object outputted from node's URL parse() method. Might also be set indirectly via request.setUrl in which case it may be a string (if url is set to an object with the query