Skip to content

type declarations do not account for fs.Stats[] return type #139

@starpit

Description

@starpit

fast-glob supports { stats: true }, which yields fs.Stats objects as opposed to strings. it looks like index.d.ts does not account for this?

Type 'string[]' is not assignable to type 'Stats[]'.
Type 'string' is not assignable to type 'Stats'.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions