typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

do not use @deprecated tag if enum item is deprecated

Open panchenko opened this issue 1 year ago • 0 comments

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`

panchenko avatar Feb 03 '24 23:02 panchenko