node: net.Socket.remoteAddress may be undefined

This commit is contained in:
Kazuhiro Yamamoto
2017-08-06 11:13:56 +09:00
parent de042124bd
commit a8a181bd1c

View File

@@ -2354,7 +2354,7 @@ declare module "net" {
unref(): void;
ref(): void;
remoteAddress: string;
remoteAddress?: string;
remoteFamily: string;
remotePort: number;
localAddress: string;