From 8e082a9568d3d36f8dd055afcd8b7e6089b37193 Mon Sep 17 00:00:00 2001 From: aliya syed Date: Tue, 13 Oct 2026 15:14:13 +0530 Subject: [PATCH 1/2] doc: correct QuicStream direction and id types Signed-off-by: aliya syed --- doc/api/quic.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/api/quic.md b/doc/api/quic.md index 36e4920860b8..f19888925b89 100644 --- a/doc/api/quic.md +++ b/doc/api/quic.md @@ -2113,10 +2113,9 @@ side, it is always `false`. added: v23.8.0 --> -* Type: {string|null} One of `'bidi'`, `'uni'`, or `null`. +* Type: {string} One of `'bidi'` or `'uni'`. -The directionality of the stream, or `null` if the stream has been destroyed -or is still pending. Read only. +The directionality of the stream. Read only. ### `stream.budget` @@ -2145,8 +2144,7 @@ added: v23.8.0 * Type: {bigint|null} -The stream ID, or `null` if the stream has been destroyed or is still -pending. Read only. +The stream ID, or `null` while the stream is still pending. Read only. ### `stream.onerror` From c6d838cce4e52b7b92a9521d9114b664ce1887e4 Mon Sep 17 00:00:00 2001 From: aliya syed Date: Tue, 13 Oct 2026 15:14:13 +0530 Subject: [PATCH 2/2] doc: correct QuicStream direction and id types Signed-off-by: aliya syed --- doc/api/quic.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/api/quic.md b/doc/api/quic.md index 36e4920860b8..f19888925b89 100644 --- a/doc/api/quic.md +++ b/doc/api/quic.md @@ -2113,10 +2113,9 @@ side, it is always `false`. added: v23.8.0 --> -* Type: {string|null} One of `'bidi'`, `'uni'`, or `null`. +* Type: {string} One of `'bidi'` or `'uni'`. -The directionality of the stream, or `null` if the stream has been destroyed -or is still pending. Read only. +The directionality of the stream. Read only. ### `stream.budget` @@ -2145,8 +2144,7 @@ added: v23.8.0 * Type: {bigint|null} -The stream ID, or `null` if the stream has been destroyed or is still -pending. Read only. +The stream ID, or `null` while the stream is still pending. Read only. ### `stream.onerror`