mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: fix typo in fs writeSync param list
Rename `buffer` to `data` in param list of fs.writeSync(fd, data[, position[, encoding]]) PR-URL: https://github.com/nodejs/node/pull/5984 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
ec49fc8229
commit
d939152230
@ -1342,7 +1342,7 @@ The synchronous version of [`fs.writeFile()`][]. Returns `undefined`.
|
||||
## fs.writeSync(fd, data[, position[, encoding]])
|
||||
|
||||
* `fd` {Integer}
|
||||
* `buffer` {String | Buffer}
|
||||
* `data` {String | Buffer}
|
||||
* `position` {Integer}
|
||||
* `encoding` {String}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user