-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add missing history entry for withFileTypes in fs.readDir(Sync) #22794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Just a possible nit)
doc/api/fs.md
Outdated
@@ -2400,6 +2400,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties. | |||
<!-- YAML | |||
added: v0.1.8 | |||
changes: | |||
- version: v10.10.0 | |||
pr-url: https://github.com/nodejs/node/pull/22020 | |||
description: Added new option `withFileTypes`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: maybe New option `withFileTypes` was added
? Most of the similar entries seem to follow this pattern in this doc.
doc/api/fs.md
Outdated
@@ -2441,6 +2444,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain | |||
<!-- YAML | |||
added: v0.1.21 | |||
changes: | |||
- version: v10.10.0 | |||
pr-url: https://github.com/nodejs/node/pull/22020 | |||
description: Added new option `withFileTypes`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
Landed in 2c43da8 |
Fixes: #22777
Checklist