-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Can't use custom action in typescript plopfiles #439
Comments
I am experiencing this too. I have a custom action that needs a custom parameter
|
I see an example like this in the tests: plop/packages/node-plop/types/test.ts Lines 241 to 254 in 202d00d
Alas, I can't import
|
In plopfile.ts whenever I try to use a plop-pack or a custom action, I get this error
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
The text was updated successfully, but these errors were encountered: