Ace - decorator flags #3166
Unanswered
sergefabre
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm following the example on the docs about the flags.boolean decorator, but the property does not exist with my version of Adonis.
Here is an extract of my package.json file:
Here is the problem in my IDE (VS Code):
![image](https://user-images.githubusercontent.com/15171783/133226408-a19283a9-6376-4d70-9317-ba7c522007b3.png)
Telling me that
default
does not exist in the typePartial<Omit<CommandFlag, "type" | "propertyName">>
.I don't know if I'm doing something wrong, or if the docs are for a more recent or dev version (it doesn't show up in the docs website, you used to be able to do this with the legacy docs).
Beta Was this translation helpful? Give feedback.
All reactions