Skip to content

Commit 4d70a2c

Browse files
illusi0n7targos
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 a8d5c16 commit 4d70a2c

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
@@ -248,6 +248,9 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
248248
/**
249249
* @typedef {import('../webstreams/readablestream').ReadableStream
250250
* } ReadableStream
251+
* @param {{
252+
* type?: string;
253+
* }} [options]
251254
* @returns {ReadableStream}
252255
*/
253256
readableWebStream(options = kEmptyObject) {

0 commit comments

Comments
 (0)