Re: [whatwg/streams] Editorial: Narrow ReadableStreamBYOBRequest.view to Uint8Array (PR #1367)

MattiasBuelens left a comment (whatwg/streams#1367)

I don't think we will ever want to set `ReadableStreamBYOBRequest.view` to anything *other* than a `Uint8Array`? This has always been a `Uint8Array` since e601d69f3ba40e6f4b5506e4bb1fbe3f3eabf393, I don't expect we want to change that in the future.

I'm not sure if we need to file implementation bugs? This doesn't change anything about the generated glue code for browsers. Or maybe we should file them anyway, e.g. if Node.js wants to [update the type in their JSDoc](https://github.com/nodejs/node/blob/v25.9.0/lib/internal/webstreams/readablestream.js#L674)?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1367#issuecomment-4232014791
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1367/c4232014791@github.com>

Received on Sunday, 12 April 2026 17:12:16 UTC