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:

/**
* @readonly
* @type {ArrayBufferView}
*/
get view() {

Activity

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

Metadata

Metadata

Assignees

Labels

good first issueIssues that are suitable for first-time contributors.web streamsIssues and PRs related to the Web Streams API.web-standardsIssues and PRs related to web-platform APIs and standards compliance.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions