Skip to content

Commit f7ed4bd

Browse files
illusi0n7Ceres6
authored andcommitted
typings: sync JSDoc with the actual implementation
JSDoc comment did not match the actual implementation of `FileHandle#readableWebStream`. Refs: nodejs#46933 PR-URL: nodejs#48853 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent 0813257 commit f7ed4bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/fs/promises.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ class FileHandle extends EventEmitter {
255255
/**
256256
* @typedef {import('../webstreams/readablestream').ReadableStream
257257
* } ReadableStream
258+
* @param {{
259+
* type?: string;
260+
* }} [options]
258261
* @returns {ReadableStream}
259262
*/
260263
readableWebStream(options = kEmptyObject) {

0 commit comments

Comments
 (0)