Skip to content

Commit

Permalink
doc: writeFile support AsyncIterable, Iterable & Stream as `d…
Browse files Browse the repository at this point in the history
…ata` argument

Fixes: nodejs#37391
  • Loading branch information
HiroyukiYagihashi committed Feb 17, 2021
1 parent d345ac9 commit 2c3ee21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3866,7 +3866,7 @@ changes:
-->
* `file` {string|Buffer|URL|integer} filename or file descriptor
* `data` {string|Buffer|TypedArray|DataView|Object}
* `data` {string|Buffer|TypedArray|DataView|Object|AsyncIterable|Iterable|Stream}
* `options` {Object|string}
* `encoding` {string|null} **Default:** `'utf8'`
* `mode` {integer} **Default:** `0o666`
Expand Down

0 comments on commit 2c3ee21

Please sign in to comment.