Skip to content

Commit 2c3ee21

Browse files
author
HiroyukiYagihashi
committed
doc: writeFile support AsyncIterable, Iterable & Stream as data argument
Fixes: nodejs#37391
1 parent d345ac9 commit 2c3ee21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3866,7 +3866,7 @@ changes:
38663866
-->
38673867
38683868
* `file` {string|Buffer|URL|integer} filename or file descriptor
3869-
* `data` {string|Buffer|TypedArray|DataView|Object}
3869+
* `data` {string|Buffer|TypedArray|DataView|Object|AsyncIterable|Iterable|Stream}
38703870
* `options` {Object|string}
38713871
* `encoding` {string|null} **Default:** `'utf8'`
38723872
* `mode` {integer} **Default:** `0o666`

0 commit comments

Comments
 (0)