docs(net): tweak getNetworkAddress() return doc (#5473)

This commit is contained in:
Asher Gomez 2024-07-18 14:10:09 +10:00 committed by GitHub
parent 3af2ed30a9
commit c26db2256f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@
* @see {@link https://github.com/vercel/serve/blob/1ea55b1b5004f468159b54775e4fb3090fedbb2b/source/utilities/http.ts#L33}
*
* @param family The IP protocol version of the interface to get the address of.
* @returns The IPv4 network address of the machine.
* @returns The IPv4 network address of the machine or `undefined` if not found.
*
* @example Get the IPv4 network address (default)
* ```ts no-assert no-eval