diff --git a/doc/api/fs.md b/doc/api/fs.md index 646d08a113383f..4f2535d6c3ba7a 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2459,7 +2459,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} @@ -2507,7 +2507,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()`][]. @@ -4819,7 +4819,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