Skip to content

webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array #62952

@MattiasBuelens

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() {

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions