Skip to content

Commit 049c046

Browse files
committed
doc: fix return type of server.address()
PR-URL: #22043 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent d68f946 commit 049c046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/net.md

+1-1
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)