mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
Correct types of http version
Correct type of httpVersionMajor and httpVersionMinor in IncomingMessage from string to number.
This commit is contained in:
Vendored
+2
-2
@@ -658,8 +658,8 @@ declare module "http" {
|
||||
}
|
||||
export interface IncomingMessage extends stream.Readable {
|
||||
httpVersion: string;
|
||||
httpVersionMajor: string;
|
||||
httpVersionMinor: string;
|
||||
httpVersionMajor: number;
|
||||
httpVersionMinor: number;
|
||||
connection: net.Socket;
|
||||
headers: any;
|
||||
rawHeaders: string[];
|
||||
|
||||
Reference in New Issue
Block a user