Skip to content

Bug: Can't use custom action in typescript plopfiles #439

@maverox

Description

@maverox

In plopfile.ts whenever I try to use a plop-pack or a custom action, I get this error
Screenshot 2024-05-27 032653

Now I figured that Actions is of type ActionType[]
and ActionType is a union of various configs but when a custom type: "value" is found it narrows down to
ActionConfig which doesnt have that property and hence it throws this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions