diff --git a/doc/api/fs.md b/doc/api/fs.md index cfcb2a32dbb161..6099af41168996 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1380,7 +1380,7 @@ changes: --> * `path` {string|Buffer|URL} -* `mode` {integer} +* `mode` {string|integer} * `callback` {Function} * `err` {Error} @@ -1457,7 +1457,7 @@ changes: --> * `path` {string|Buffer|URL} -* `mode` {integer} +* `mode` {string|integer} For detailed information, see the documentation of the asynchronous version of this API: [`fs.chmod()`][].