Skip to content

Commit

Permalink
typings: sync JSDoc with the actual implementation
Browse files Browse the repository at this point in the history
JSDoc comment did not match the actual implementation of
`FileHandle#readableWebStream`.

Refs: #46933
PR-URL: #48853
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
  • Loading branch information
illusi0n7 authored and targos committed Nov 26, 2023
1 parent a8d5c16 commit 4d70a2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/fs/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
/**
* @typedef {import('../webstreams/readablestream').ReadableStream
* } ReadableStream
* @param {{
* type?: string;
* }} [options]
* @returns {ReadableStream}
*/
readableWebStream(options = kEmptyObject) {
Expand Down

0 comments on commit 4d70a2c

Please sign in to comment.