mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Fix dgram.Socket#ref and #unref (#13242)
These two methods both return the socket, than being void.
This commit is contained in:
committed by
Masahiro Wakame
parent
d2c72d7337
commit
94c44cad2e
Vendored
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user