mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
Merge pull request #2953 from heroboy/patch-1
add nodejs missing Socket.unref() and Socket.ref()
This commit is contained in:
Vendored
+3
@@ -720,6 +720,9 @@ declare module "net" {
|
||||
setNoDelay(noDelay?: boolean): void;
|
||||
setKeepAlive(enable?: boolean, initialDelay?: number): void;
|
||||
address(): { port: number; family: string; address: string; };
|
||||
unref(): void;
|
||||
ref(): void;
|
||||
|
||||
remoteAddress: string;
|
||||
remotePort: number;
|
||||
bytesRead: number;
|
||||
|
||||
Reference in New Issue
Block a user