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

add default namespaced events #354

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

titoBouzout
Copy link
Contributor

@titoBouzout titoBouzout commented Sep 25, 2024

It adds the namespaced version of the default events. such on:click. There is probably some clever way to avoid duplication, but I preferred to follow how is it done.

I'm not sure what will happen if someone tries to define an event with the same name, I suppose we can move the location of the extends CustomEventHandlersNamespaced<T> if that's reported as an issue.. and that will fix it? 🤔

Somehow prettier formatted the jsdoc comments, I suspect a plugin I have installed, it shouldn't cause issues with the regular formatting as it won't touch comment contents.

closes solidjs/solid#1939

asked for input in the TS channel and seems like a good idea to include this https://discord.com/channels/722131463138705510/783844647528955931/1291147473011736613

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

Successfully merging this pull request may close these issues.

Non-fancy event delegation syntax (on:click etc.) not working with Typescript?
1 participant