doc: update mode type for several functions
https://github.com/nodejs/node/pull/31085 updated the documented type for the mode
argument to fs.chmod()
and fs.chmodSync()
, but it missed fsPromises.chmod()
. Furthermore, the fchmod()
, open()
, mkdir()
, and process.umask()
require similar updates. This PR provides those updates.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines