From 64fcba2a2e84efb250a7a8e4a782f4c6ca2c377b Mon Sep 17 00:00:00 2001 From: Faiz Halde Date: Thu, 12 May 2016 11:59:29 +0530 Subject: [PATCH] doc: appendFileSync accepts fd as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/issues/6508 PR-URL: https://github.com/nodejs/node/pull/6707 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- doc/api/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 7ccf5c4bd016bc..f3c74d388528ee 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -327,7 +327,7 @@ _Note: Specified file descriptors will not be closed automatically._ ## fs.appendFileSync(file, data[, options]) -* `file` {String | Buffer} +* `file` {String | Buffer | Number} filename or file descriptor * `data` {String | Buffer} * `options` {Object | String} * `encoding` {String | Null} default = `'utf8'`