From 6b33e56823c93bb05f3f2d4b5ff4dc163c31354a Mon Sep 17 00:00:00 2001 From: Mykola Bilochub Date: Sun, 7 Jan 2018 01:46:59 +0200 Subject: [PATCH] doc: fix incorrect argument type in fs.readSync The `buffer` argument must be either Buffer or Uint8Array, string values are not supported. --- 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 47491cf5a742c7..e1dabde956c9d1 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2351,7 +2351,7 @@ changes: --> * `fd` {integer} -* `buffer` {string|Buffer|Uint8Array} +* `buffer` {Buffer|Uint8Array} * `offset` {integer} * `length` {integer} * `position` {integer}