plopjs / plop

Consistency Made Simple
http://plopjs.com
MIT License
7.06k stars 277 forks source link

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

Open maverox opened 3 months ago

maverox commented 3 months ago

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