From d7c0a9a5a6b5603b64367b79edb90572c5badd44 Mon Sep 17 00:00:00 2001 From: Debojeet Mitra <142051979+debojeetmitra@users.noreply.github.com> Date: Tue, 5 May 2026 22:07:35 +0530 Subject: [PATCH] Change view type annotation to Uint8Array --- lib/internal/webstreams/readablestream.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/internal/webstreams/readablestream.js b/lib/internal/webstreams/readablestream.js index 7abde514cf78a5..0d8fe5513903d4 100644 --- a/lib/internal/webstreams/readablestream.js +++ b/lib/internal/webstreams/readablestream.js @@ -664,9 +664,9 @@ class ReadableStreamBYOBRequest { } /** - * @readonly - * @type {ArrayBufferView} - */ + * @readonly + * @type {Uint8Array} + */ get view() { if (!isReadableStreamBYOBRequest(this)) throw new ERR_INVALID_THIS('ReadableStreamBYOBRequest');