Fixing type declaration for the headers property of net.IncomingMessage.

This commit is contained in:
ali.ibrahim
2016-11-23 14:40:48 +01:00
parent e8d8a70438
commit 1377fae49d

4
electron/index.d.ts vendored
View File

@@ -2913,7 +2913,9 @@ declare namespace Electron {
* - Each header name produces an array-valued property on the headers object.
* - Each header value is pushed into the array associated with its header name.
*/
headers: Headers;
headers: {
[key: string]: string[]
};
/**
* A string indicating the HTTP protocol version number. Typical values are 1.0 or 1.1.
*/