0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Aleh Zasypkin e96c11c384
doc,fs: rename defaultEncoding option to encoding
The documentation for `fs.createWriteStream()` references a
`defaultEncoding` as possible options property, but in reality
`encoding` property is expected and properly handled. This fix updates
the documentation to rename the `defaultEncoding` property to
`encoding`.

PR-URL: https://github.com/nodejs/node/pull/14867
Fixes: https://github.com/nodejs/node/issues/14611
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-08-20 18:03:51 -04:00
..
api doc,fs: rename defaultEncoding option to encoding 2017-08-20 18:03:51 -04:00
api_assets
changelogs
guides
.eslintrc.yaml
full-white-stripe.jpg
node.1
onboarding-extras.md
onboarding.md
osx_installer_logo.png
releases.md
STYLE_GUIDE.md
template.html
thin-white-stripe.jpg