Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emitted event type always shown as CustomEvent #78

Open
peschee opened this issue Sep 3, 2024 · 0 comments
Open

Emitted event type always shown as CustomEvent #78

peschee opened this issue Sep 3, 2024 · 0 comments

Comments

@peschee
Copy link

peschee commented Sep 3, 2024

I have this piece in my CEM:

          "events": [
            {
              "name": "focus",
              "type": {
                "text": "Event"
              },
              "description": "Emitted when the element has received focus."
            },

The argTypes returned by the helper show CustomEvent<Event> though:

{
    "name": "focus",
    "description": "Emitted when the element has received focus.",
    "control": false,
    "table": {
        "category": "events",
        "type": {
            "summary": "CustomEvent<Event>"
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant