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 <deokjin81.kim@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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)