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: nodejs#46933
PR-URL: nodejs#48853
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
  • Loading branch information
illusi0n7 authored and UlisesGascon committed Aug 14, 2023
1 parent 1f8bb19 commit 094523b
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 @@ -254,6 +254,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 094523b

Please sign in to comment.