Skip to content

doc: narrow ReadableStreamBYOBRequest.view type to Uint8Array - #64997

Open
aalhadxx wants to merge 1 commit into
nodejs:mainfrom
aalhadxx:fix/issue-62952
Open

doc: narrow ReadableStreamBYOBRequest.view type to Uint8Array#64997
aalhadxx wants to merge 1 commit into
nodejs:mainfrom
aalhadxx:fix/issue-62952

Conversation

@aalhadxx

@aalhadxx aalhadxx commented Aug 4, 2026

Copy link
Copy Markdown

Fixes #62952

What does this PR do?

Narrows the documented type of ReadableStreamBYOBRequest.view from ArrayBufferView to Uint8Array in the Node.js Web Streams API documentation. This matches the actual WebIDL and Chromium/Node implementation, where a BYOB request always provides a Uint8Array view.

Changes

  • doc/api/webstreams.md: one-line type change in the ReadableStreamBYOBRequest section.

How did you verify your code works?

  • I checked the Web Streams standard and the Node.js source; ReadableStreamBYOBRequest.view is created from a Uint8Array in the implementation.
  • I built the docs locally with make doc and confirmed the generated HTML reflects the narrowed type without breaking surrounding anchors.
  • This is a documentation-only change; no runtime behavior is affected.

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Aug 4, 2026
Fixes: nodejs#62952
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aalhad <aalhadxx@users.noreply.github.com>
@aalhadxx
aalhadxx force-pushed the fix/issue-62952 branch 2 times, most recently from bc8bbd8 to 4d70d0a Compare August 4, 2026 15:07
@aalhadxx

aalhadxx commented Aug 4, 2026

Copy link
Copy Markdown
Author

Hi team, this is a small doc fix for the ReadableStreamBYOBRequest.view type. The commit is signed. Could a maintainer review it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array

2 participants