Fix bad signature of ClientRequest#setNoDelay

`noDelay` argument should be boolean, not Function
This commit is contained in:
Colin Snover
2014-05-16 12:25:08 -05:00
parent fbee02cb17
commit 9f5a5ab394
+1 -1
View File
@@ -327,7 +327,7 @@ declare module "http" {
write(chunk: any, encoding?: string): void;
abort(): void;
setTimeout(timeout: number, callback?: Function): void;
setNoDelay(noDelay?: Function): void;
setNoDelay(noDelay?: boolean): void;
setSocketKeepAlive(enable?: boolean, initialDelay?: number): void;
// Extended base methods