We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45e188b commit 7e9f88eCopy full SHA for 7e9f88e
doc/api/fs.md
@@ -430,8 +430,9 @@ included in the iteration results.
430
added: v10.10.0
431
-->
432
433
-A representation of a directory entry, as returned by reading from an
434
-[`fs.Dir`][].
+A representation of a directory entry, which can be a file or a subdirectory
+within the directory, as returned by reading from an [`fs.Dir`][]. The
435
+directory entry is a combination of the file name and file type pairs.
436
437
Additionally, when [`fs.readdir()`][] or [`fs.readdirSync()`][] is called with
438
the `withFileTypes` option set to `true`, the resulting array is filled with
0 commit comments