mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Fixing type declaration for the headers property of net.IncomingMessage.
This commit is contained in:
4
electron/index.d.ts
vendored
4
electron/index.d.ts
vendored
@@ -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’.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user