mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Update node.d.ts
headers return an object http://nodejs.org/api/http.html#http_message_headers
This commit is contained in:
1 parent
21f6baaef8
commit
3bf516e434
1 file changed
+1
-1
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