PwithFileTypes
Bun

property

fs._GlobOptions.withFileTypes

withFileTypes?: boolean

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