Skip to content

Feature Request: Generate Guards for Types in CI/CD or in Batch #23

@kacetal

Description

@kacetal

Hello,

I really like your library! However, I have a question—would it be possible to use it during CI/CD, or perhaps add a script that can generate predicates based on a pattern?

For example, given the following path:

src/components/other-folder/*/*.types.ts

The script would generate a corresponding guard file next to each type definition:

src/components/other-folder/*/*.types.guard.ts

Ideally, it would also add a re-export in each folder’s index.ts.

Is this currently possible, or is it something you plan to support?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions