I'm using JSDoc tags to automatically show a warning for deprecated props in storybook, for example:
type Props = {
/**
* @deprecated Will be removed in the next major version
*/
someProp?: string
}
would render a storybook control like this in my project:
I would like to add the same functionality to events and slots. According to the types events already support tags, but proper extraction is blocked by this until vue 3.5 is released. For SlotMeta and ExposeMeta tags are not present yet.
What does the proposed solution look like?
Generate meta information about tags for slots and expose
What problem does this feature solve?
I'm using JSDoc tags to automatically show a warning for deprecated props in storybook, for example:
would render a storybook control like this in my project:
I would like to add the same functionality to events and slots. According to the types events already support tags, but proper extraction is blocked by this until vue 3.5 is released. For
SlotMeta
andExposeMeta
tags are not present yet.What does the proposed solution look like?
Generate meta information about tags for slots and expose