mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #10038 from prashaantt/patch-3
Fix `request.raw.req` type
This commit is contained in:
Vendored
+2
-2
@@ -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.*/
|
||||
|
||||
Reference in New Issue
Block a user