doc: add withFileTypes option to fsPromises.readdir
Note: I left the version as REPLACEME
even though it was added in 10.10.0, because it's broken in 10.10.0, but this is fixed in https://github.com/nodejs/node/pull/22832.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines