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}
|
* `data` {string|Buffer|TypedArray|DataView|AsyncIterable|Iterable|Stream}
|
||||||
* `options` {Object|string}
|
* `options` {Object|string}
|
||||||
* `encoding` {string|null} **Default:** `'utf8'`
|
* `encoding` {string|null} **Default:** `'utf8'`
|
||||||
* `flush` {boolean} If `true`, the underlying file descriptor is flushed
|
* `signal` {AbortSignal|undefined} allows aborting an in-progress writeFile. **Default:** `undefined`
|
||||||
prior to closing it. **Default:** `false`.
|
|
||||||
* Returns: {Promise} Fulfills with `undefined` upon success.
|
* Returns: {Promise} Fulfills with `undefined` upon success.
|
||||||
|
|
||||||
Alias of [`filehandle.writeFile()`][].
|
Alias of [`filehandle.writeFile()`][].
|
||||||
|
Loading…
x
Reference in New Issue
Block a user