destroy has a optional argument

This commit is contained in:
TonyYang
2016-08-17 17:36:04 +08:00
committed by GitHub
parent 5073eb65dc
commit 75bfef43c6
+1 -1
View File
@@ -670,7 +670,7 @@ declare module "http" {
*/
statusMessage?: string;
socket: net.Socket;
destroy(error: Error): void;
destroy(error?: Error): void;
}
/**
* @deprecated Use IncomingMessage