Node compat: fs.Dirent
does not have path
member
#7358
Labels
bug
Something isn't working
good first issue
Something that would be good for new contributors
node.js
Compatibility with Node.js APIs
quick fix
Something that can be fixed with low effort, but high impact
What version of Bun is running?
1.0.12+85c997513
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
Additional information
fs.Dirent
is documented here: https://nodejs.org/api/fs.html#class-fsdirentThis type is returned from methods on
fs.Dir
, as well asfs.readdir()
andfs.readdirsync()
whenwithFileTypes
option istrue
.The text was updated successfully, but these errors were encountered: