diff --git a/doc/api/fs.md b/doc/api/fs.md index 45c1545be7ca3a..a576f9cce53bc8 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -179,9 +179,24 @@ longer be used. -* `data` {string|Buffer|TypedArray|DataView} +* `data` {string|Buffer|TypedArray|DataView|Object|AsyncIterable|Iterable + |Stream} * `options` {Object|string} * `encoding` {string|null} **Default:** `'utf8'` * Returns: {Promise} Fulfills with `undefined` upon success.