diff --git a/doc/api/fs.md b/doc/api/fs.md index d61b7c08c9597f..9b2982d20d08a2 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -805,6 +805,7 @@ changes: * `options` {Object|string} * `encoding` {string|null} The expected character encoding when `data` is a string. **Default:** `'utf8'` + * `signal` {AbortSignal|undefined} allows aborting an in-progress writeFile. **Default:** `undefined` * Returns: {Promise} Asynchronously writes data to a file, replacing the file if it already exists.