From 7b74efd6341d5b50f109a83a1ca0517a41840e23 Mon Sep 17 00:00:00 2001 From: damianog Date: Sat, 7 Sep 2013 20:31:45 +0200 Subject: [PATCH] ServerRequest headers is an object http://nodejs.org/api/http.html#http_message_headers --- node/node.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/node.d.ts b/node/node.d.ts index 3ae37ed37..07e1120d4 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -246,7 +246,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; @@ -1083,4 +1083,4 @@ declare module "domain" { export function bind(cb: (er: Error, data: any) =>any): any; export function intercept(cb: (data: any) => any): any; export function dispose(): void; -} \ No newline at end of file +}