mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
detailing declaration for dgram socket.close ()
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user