From 455358ec64161af504af4df5234bde76f4f29941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Fri, 8 Apr 2022 01:41:46 +0200 Subject: [PATCH] doc: mark tlsSocket.authorized as boolean property This is not a function and should not have a return type. --- 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 764491cf1d2b74..15e5a22a279704 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()`