diff --git a/doc/api/fs.md b/doc/api/fs.md index 0b1a1eae993a65..3768f0309ffff1 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2433,7 +2433,7 @@ changes: * `path` {string|Buffer|URL} * `options` {Object|integer} * `recursive` {boolean} **Default:** `false` - * `mode` {integer} Not supported on Windows. **Default:** `0o777`. + * `mode` {string|integer} Not supported on Windows. **Default:** `0o777`. * `callback` {Function} * `err` {Error} @@ -2481,7 +2481,7 @@ changes: * `path` {string|Buffer|URL} * `options` {Object|integer} * `recursive` {boolean} **Default:** `false` - * `mode` {integer} Not supported on Windows. **Default:** `0o777`. + * `mode` {string|integer} Not supported on Windows. **Default:** `0o777`. Synchronously creates a directory. Returns `undefined`. This is the synchronous version of [`fs.mkdir()`][]. @@ -4793,7 +4793,7 @@ added: v10.0.0 * `path` {string|Buffer|URL} * `options` {Object|integer} * `recursive` {boolean} **Default:** `false` - * `mode` {integer} Not supported on Windows. **Default:** `0o777`. + * `mode` {string|integer} Not supported on Windows. **Default:** `0o777`. * Returns: {Promise} Asynchronously creates a directory then resolves the `Promise` with no