node.d.ts: added http.ServerResponse.setTimeout signature (#10135)

Added missing `http.ServerResponse.setTimeout` signature. The `setTimeout` method was added in node v0.9.12, see https://nodejs.org/api/http.html#http_response_settimeout_msecs_callback
This commit is contained in:
Nahuel Greco
2016-07-19 21:26:01 -03:00
committed by Mohamed Hegazy
parent 3c935c7abc
commit 38b09ae303

1
node/node.d.ts vendored
View File

@@ -599,6 +599,7 @@ declare module "http" {
statusMessage: string;
headersSent: boolean;
setHeader(name: string, value: string | string[]): void;
setTimeout(msecs: number, callback: Function): ServerResponse;
sendDate: boolean;
getHeader(name: string): string;
removeHeader(name: string): void;