doc: update options to filehandle.appendFile()

PR-URL: https://github.com/nodejs/node/pull/56972
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Hasegawa-Yukihiro 2025-02-24 10:29:31 +09:00 committed by Node.js GitHub Bot
parent 685f00c073
commit 22ac5976a8

View File

@ -199,8 +199,7 @@ changes:
* `data` {string|Buffer|TypedArray|DataView|AsyncIterable|Iterable|Stream}
* `options` {Object|string}
* `encoding` {string|null} **Default:** `'utf8'`
* `flush` {boolean} If `true`, the underlying file descriptor is flushed
prior to closing it. **Default:** `false`.
* `signal` {AbortSignal|undefined} allows aborting an in-progress writeFile. **Default:** `undefined`
* Returns: {Promise} Fulfills with `undefined` upon success.
Alias of [`filehandle.writeFile()`][].