From 18399b85ef1721a3f845736fcf5f9d7ba6fb3e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 10 Apr 2022 02:42:57 +0200 Subject: [PATCH] doc: mark tlsSocket.authorized as boolean property This is not a function and should not have a return type. PR-URL: https://github.com/nodejs/node/pull/42647 Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel --- doc/api/tls.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index b7c826b0d5b52e..253517b11fbd5b 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -978,10 +978,10 @@ property is set only when `tlsSocket.authorized === false`. added: v0.11.4 --> -* Returns: {boolean} +* {boolean} -Returns `true` if the peer certificate was signed by one of the CAs specified -when creating the `tls.TLSSocket` instance, otherwise `false`. +This property is `true` if the peer certificate was signed by one of the CAs +specified when creating the `tls.TLSSocket` instance, otherwise `false`. ### `tlsSocket.disableRenegotiation()`