Skip to content

Commit 9fac310

Browse files
LEEYS96UlisesGascon
authored andcommitted
fs: add the options param description in openAsBlob()
PR-URL: #49308 Refs: https://github.com./nodejs/node/blob/main/doc/api/fs.md#fsopenasblobpath-options Reviewed-By: Deokjin Kim <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0eea7fd commit 9fac310

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/fs.js

+3
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,9 @@ function openSync(path, flags, mode) {
604604

605605
/**
606606
* @param {string | Buffer | URL } path
607+
* @param {{
608+
* type?: string;
609+
* }} [options]
607610
* @returns {Promise<Blob>}
608611
*/
609612
function openAsBlob(path, options = kEmptyObject) {

0 commit comments

Comments
 (0)