detailing declaration for dgram socket.close ()

This commit is contained in:
a8775
2017-01-24 14:48:02 +01:00
parent 99d41f818c
commit 35c3b91e09
+1 -1
View File
@@ -2124,7 +2124,7 @@ declare module "dgram" {
send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void;
bind(port?: number, address?: string, callback?: () => void): void;
bind(options: BindOptions, callback?: Function): void;
close(callback?: any): void;
close(callback?: () => void): void;
address(): AddressInfo;
setBroadcast(flag: boolean): void;
setTTL(ttl: number): void;