add ClientResponse for compatibility

This commit is contained in:
progre
2015-03-26 22:07:01 +09:00
parent 16f4b2bad2
commit 4f1e6ccc1b
+4
View File
@@ -353,6 +353,10 @@ declare module "http" {
statusMessage: string;
socket: net.Socket;
}
/**
* @deprecated Use IncomingMessage
*/
export interface ClientResponse extends IncomingMessage { }
export interface AgentOptions {
/**