mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
http.IncomingMessage: destroy not found
Please refer to https://nodejs.org/api/http.html#http_message_destroy_error
This commit is contained in:
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -670,6 +670,7 @@ declare module "http" {
|
||||
*/
|
||||
statusMessage?: string;
|
||||
socket: net.Socket;
|
||||
destroy(error: Error): void;
|
||||
}
|
||||
/**
|
||||
* @deprecated Use IncomingMessage
|
||||
|
||||
Reference in New Issue
Block a user