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:
Родитель
ec49fc8229
Коммит
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}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче