From 47929560ea690a21162a602ef2005a46d92f62c1 Mon Sep 17 00:00:00 2001 From: TonyYang Date: Wed, 21 Sep 2016 17:20:12 +0800 Subject: [PATCH] Fix syntax --- node/node.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.d.ts b/node/node.d.ts index f578aef6a1..df546c5816 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -1697,7 +1697,7 @@ declare module "net" { emit(event: "end"): this; emit(event: "error", err: Error): this; emit(event: "lookup", err: Error, address: string, family: string | number, host: string): this; - emit(event: "timeout") => void): this; + emit(event: "timeout"): this; on(event: string, listener: Function): this; on(event: "close", listener: (had_error: Boolean) => void): this;