You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a custom template and using the definePackageOption function, the validate property function is not typed, because pack-up uses a version of prompts without types, you then have to install your own @types/prompts package
Expected Behaviour
You should not need to install the package and the types should be available. To solve this, move the types package to the dependences property of the package.json
The text was updated successfully, but these errors were encountered:
What version of
@strapi/pack-up
are you using?What's Wrong?
When creating a custom template and using the
definePackageOption
function, the validate property function is not typed, because pack-up uses a version ofprompts
without types, you then have to install your own@types/prompts
packageExpected Behaviour
You should not need to install the package and the types should be available. To solve this, move the types package to the
dependences
property of the package.jsonThe text was updated successfully, but these errors were encountered: