mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Update node.d.ts
headers return an object http://nodejs.org/api/http.html#http_message_headers
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user