Skip to content

Commit be7b511

Browse files
illusi0n7RafaelGSS
authored andcommitted
typings: sync JSDoc with the actual implementation
JSDoc comment did not match the actual implementation of `FileHandle#readableWebStream`. Refs: #46933 PR-URL: #48853 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
1 parent 4bd5e55 commit be7b511

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/fs/promises.js

+3
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
254254
/**
255255
* @typedef {import('../webstreams/readablestream').ReadableStream
256256
* } ReadableStream
257+
* @param {{
258+
* type?: string;
259+
* }} [options]
257260
* @returns {ReadableStream}
258261
*/
259262
readableWebStream(options = kEmptyObject) {

0 commit comments

Comments
 (0)