From 8072adf41ecd3cf8df0068d6c4a0ac0669ddbc12 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 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.