From 293e706a9eda8a404b16f7dea7c8d035e97becd6 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 Refer: https://github.com/nodejs/node/issues/6508 --- 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 895d5c5e931c00..eee314ec6b72bb 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -332,7 +332,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'`