Skip to content

Commit 2966e7d

Browse files
committed
doc: fix return type of server.address()
1 parent 6fe740e commit 2966e7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].
114114
added: v0.1.90
115115
-->
116116

117-
* Returns: {Object}
117+
* Returns: {Object|string}
118118

119119
Returns the bound `address`, the address `family` name, and `port` of the server
120120
as reported by the operating system if listening on an IP socket

0 commit comments

Comments
 (0)