mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
typings: sync JSDoc with the actual implementation
JSDoc comment did not match the actual implementation of `FileHandle#readableWebStream`. Refs: https://github.com/nodejs/node/pull/46933 PR-URL: https://github.com/nodejs/node/pull/48853 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
This commit is contained in:
@@ -255,6 +255,9 @@ class FileHandle extends EventEmitter {
|
||||
/**
|
||||
* @typedef {import('../webstreams/readablestream').ReadableStream
|
||||
* } ReadableStream
|
||||
* @param {{
|
||||
* type?: string;
|
||||
* }} [options]
|
||||
* @returns {ReadableStream}
|
||||
*/
|
||||
readableWebStream(options = kEmptyObject) {
|
||||
|
||||
Reference in New Issue
Block a user