PwithFileTypes
Bun

property

fs.GlobOptions.withFileTypes

withFileTypes?: boolean

true if the glob should return paths as Dirents, false otherwise.