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;