From e822e881ac3e21a63911c31ec7c2a362ae7faf7f 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 9ca6237f4d856f..8fa752ecd00982 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`.