-
-
Notifications
You must be signed in to change notification settings - Fork 745
Open
Description
Search Terms
@fires tag type is removed when generating documentation
Problem
Currently I am want to define event that a component fires.
/**
* Component demo.
*
* @fires {CustomEvent<{id: string, source: Element}>} item-click - event when item is clicked.
*/
export class ButtonControlElement extends LitElement {
}
and the result when it is generated is

I need for event type to be defined between {}
since I also want to generate custom-element-manifest for my component https://github.com/webcomponents/custom-elements-manifest?tab=readme-ov-file
Expected Result:
{CustomEvent<{id: string, source: Element}>} is also printed in documentation
Suggested Solution
How do you suggest fixing the problem? Do any other tools already do it?
Metadata
Metadata
Assignees
Labels
No labels