Skip to content

Commit e0dc180

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 <duhamelantoine1995@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
1 parent d80e1eb commit e0dc180

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
@@ -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)