mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Fix syntax
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user