Skip to content

next: JSX types update #420

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

Open
wants to merge 11 commits into
base: next
Choose a base branch
from

Conversation

titoBouzout
Copy link
Contributor

@titoBouzout titoBouzout commented May 20, 2025

Applies updates done in `main``#419

Plus:

  • order the interfaces more logically
  • rename DOMAttributes to ElementAttributes
  • rename CoreSVGAttributes to SVGAttributes
  • merge CustomEventHandlersCamelCase, CustomEventHandlersNamespaced into a new EventHandlersElement and for window EventHandlersWindow
  • add new type EventType which is a dynamic list of possible event names "afterprint" | "beforeprint" | ...
  • document interfaces at the top of the file
  • remove camelCase attributes
  • Miscellaneous updates

About the renames, I am not sure what's opinion on them. I didn't really want to do it, but went for it because makes more sense that way. starting blank Let me know what you think

Thanks!

@titoBouzout titoBouzout marked this pull request as ready for review May 20, 2025 17:59
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.

1 participant