Merge pull request #11383 from Flarna/node_httpversions

Correct types of httpVersionMinor and httpVersionMinor
This commit is contained in:
Andy
2016-09-21 12:21:28 -07:00
committed by GitHub

4
node/node.d.ts vendored
View File

@@ -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[];