Update node.d.ts

headers return an object

http://nodejs.org/api/http.html#http_message_headers
This commit is contained in:
damianog
2013-09-07 20:24:58 +02:00
parent 21f6baaef8
commit 3bf516e434
+1 -1
View File
@@ -255,7 +255,7 @@ declare module "http" {
export interface ServerRequest extends events.NodeEventEmitter, stream.ReadableStream {
method: string;
url: string;
headers: string;
headers: any;
trailers: string;
httpVersion: string;
setEncoding(encoding?: string): void;