Fix dgram.Socket#ref and #unref (#13242)

These two methods both return the socket, than being void.
This commit is contained in:
Ian Copp
2016-12-25 04:54:35 +09:00
committed by Masahiro Wakame
parent d2c72d7337
commit 94c44cad2e
+2 -2
View File
@@ -2067,8 +2067,8 @@ declare module "dgram" {
setMulticastLoopback(flag: boolean): void;
addMembership(multicastAddress: string, multicastInterface?: string): void;
dropMembership(multicastAddress: string, multicastInterface?: string): void;
ref(): void;
unref(): void;
ref(): this;
unref(): this;
/**
* events.EventEmitter