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:
parent
685f00c073
commit
22ac5976a8
@ -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()`][].
|
||||
|
Loading…
x
Reference in New Issue
Block a user