webstreams: narrow `ReadableStreamBYOBRequest.view` to `Uint8Array` · Issue #62952 · nodejs/node · GitHub
Skip to content

webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array #62952

Description

@MattiasBuelens

ReadableStreamBYOBRequest.view is always constructed as a Uint8Array, and the specification will be updated to enforce this. Spec change: whatwg/streams#1367

We should reflect this by changing the documented return type from ArrayBufferView to Uint8Array here:

Metadata

Metadata

Assignees

Labels

good first issueIssues that are suitable for first-time contributors.web streamsweb-standardsIssues and PRs related to Web APIs

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions