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/node#46933
PR-URL: nodejs/node#48853
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 36d767f commit 3b9317d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graal-nodejs/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 3b9317d

Please sign in to comment.