From 198604595c0a1133832b0324520bb4b185f757d7 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 3 Apr 2022 16:20:01 +0200 Subject: [PATCH] doc: fix documentation of `FileHandle.prototype.appendFile` --- doc/api/fs.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 2f9705752556d9..66363f11e94bb9 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.