Skip to content

Commit

Permalink
doc: update options to filehandle.appendFile()
Browse files Browse the repository at this point in the history
PR-URL: #56972
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
y-hsgw authored and targos committed Feb 25, 2025
1 parent 1a24417 commit 455bf5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`][].
Expand Down

0 comments on commit 455bf5a

Please # to comment.