From 71f4a39086d7f01b8f4fcced99730be3aa775c43 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 3 Apr 2022 22:48:44 +0200 Subject: [PATCH] doc: fix documentation of `FileHandle.prototype.appendFile` PR-URL: https://github.com/nodejs/node/pull/42588 Reviewed-By: James M Snell Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: Mestery --- 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 39f41124b9c90f..8bc833c41d4088 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.