Commit 4381c4730ea for nodejs
commit 4381c4730ea96569abbddb11f5b7318ca54c5dcd
Author: Kisnner Obando <s46jbhqzxq@privaterelay.appleid.com>
Date: Wed Oct 14 13:49:23 2026 -0600
doc: correct QuicStream direction and id types
Signed-off-by: Kisnner Obando <kisnnerobando7@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66687
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tim Perry <pimterry@gmail.com>
diff --git a/doc/api/quic.md b/doc/api/quic.md
index 36e4920860b..3028d755916 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 pending. Read only.
### `stream.onerror`