From cd5689eed3be54a5494f9b74d28faa4779187ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 2 Feb 2022 22:03:56 +0100 Subject: [PATCH] doc: align tls port types with net port types PR-URL: https://github.com/nodejs/node/pull/41799 Reviewed-By: Mestery Reviewed-By: Benjamin Gruenbaum Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- doc/api/tls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index f2142b63059efa..9c9626bc689a7b 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1365,7 +1365,7 @@ Returns the string representation of the local IP address. added: v0.11.4 --> -* {number} +* {integer} Returns the numeric representation of the local port. @@ -1396,7 +1396,7 @@ Returns the string representation of the remote IP family. `'IPv4'` or `'IPv6'`. added: v0.11.4 --> -* {number} +* {integer} Returns the numeric representation of the remote port. For example, `443`.