Merge pull request #10038 from prashaantt/patch-3

Fix `request.raw.req` type
This commit is contained in:
Zhengbo Li
2016-07-11 00:10:38 -07:00
committed by GitHub
+2 -2
View File
@@ -964,7 +964,7 @@ declare module "hapi" {
payload: string;
rawPayload: Buffer;
raw: {
req: http.ClientRequest;
req: http.IncomingMessage;
res: http.ServerResponse
};
result: string;
@@ -1199,7 +1199,7 @@ declare module "hapi" {
query: any;
/** an object containing the Node HTTP server objects. Direct interaction with these raw objects is not recommended.*/
raw: {
req: http.ClientRequest;
req: http.IncomingMessage;
res: http.ServerResponse;
};
/** the route public interface.*/