diff --git a/node/index.d.ts b/node/index.d.ts index 6e4fbce84e..93c0d7c709 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -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;