From fbb93b57aabec8d126c4cad17c6103833da3f0b4 Mon Sep 17 00:00:00 2001 From: RareGrass Date: Mon, 6 Jul 2015 10:57:07 +0800 Subject: [PATCH] Update node.d.ts Add the http.METHODS string array --- node/node.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/node.d.ts b/node/node.d.ts index 2865aedd4..6544d3c10 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -539,6 +539,8 @@ declare module "http" { destroy(): void; } + export var METHODS: string[]; + export var STATUS_CODES: { [errorCode: number]: string; [errorCode: string]: string;