Skip to content

Add { withFileTypes: boolean } options type on compiler.inputFileSystem.readdir #16780

@TheLarkInn

Description

@TheLarkInn

Today compiler.inputFileSystem.readdir doesn't include the type information for passing {withFileTypes: boolean} options parameter. This is useful if you are leveraging inputFileSystem for and you want to read Dirint objects instead of string | buffer types.

This is low hanging fruit that anyone could contribute to. Location to code: https://github.com/webpack/webpack/blob/main/lib/util/fs.js#L113-L205

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions