Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix incorrect argument type in fs.readSync
The `buffer` argument must be either Buffer or Uint8Array, string
values are not supported.
  • Loading branch information
belochub committed Jan 6, 2018
commit 6b33e56823c93bb05f3f2d4b5ff4dc163c31354a
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ changes:
-->

* `fd` {integer}
* `buffer` {string|Buffer|Uint8Array}
* `buffer` {Buffer|Uint8Array}
* `offset` {integer}
* `length` {integer}
* `position` {integer}
Expand Down