Skip to content

Commit e397116

Browse files
webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array
1 parent d7c0a9a commit e397116

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/internal/webstreams/readablestream.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ class ReadableStreamBYOBRequest {
664664
}
665665

666666
/**
667-
* @readonly
668-
* @type {Uint8Array}
669-
*/
667+
* @readonly
668+
* @type {Uint8Array}
669+
*/
670670
get view() {
671671
if (!isReadableStreamBYOBRequest(this))
672672
throw new ERR_INVALID_THIS('ReadableStreamBYOBRequest');

0 commit comments

Comments
 (0)