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 +}