typescript-generator
typescript-generator copied to clipboard
do not use @deprecated tag if enum item is deprecated
Currently if some enum item a deprecated, then tsdoc is generated mentioning each item, and the deprecated ones are marked with @deprecated.
Values:
- `First`
- `Second` - @deprecated
- `Third`
And then Intellij IDEA treats the whole enum as deprecated. I suggest omitting @ from the generated comment:
Values:
- `First`
- `Second` - deprecated
- `Third`