mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
destroy has a optional argument
This commit is contained in:
Vendored
+1
-1
@@ -670,7 +670,7 @@ declare module "http" {
|
||||
*/
|
||||
statusMessage?: string;
|
||||
socket: net.Socket;
|
||||
destroy(error: Error): void;
|
||||
destroy(error?: Error): void;
|
||||
}
|
||||
/**
|
||||
* @deprecated Use IncomingMessage
|
||||
|
||||
Reference in New Issue
Block a user