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

Missing typescript types for MathML #4208

Closed
1 task done
scarf005 opened this issue Nov 12, 2023 · 2 comments
Closed
1 task done

Missing typescript types for MathML #4208

scarf005 opened this issue Nov 12, 2023 · 2 comments

Comments

@scarf005
Copy link

  • Check if updating to the latest Preact version resolves the issue

Describe the bug
types for MathML are missing in preact. I've searched through preact documentation and repository but wasn't able to find related information.

To Reproduce

Stackblitz

  1. Add <math> and related MathML tag.
  2. The tag errors as Property 'math' does not exist on type 'JSX.IntrinsicElements'.

Expected behavior

image

mathml is an widely supported (92.44%) feature. it'd be great to use them without type errors in preact.

@fekete965
Copy link
Contributor

I would be happy to work on this. :)

@marvinhagemeister
Copy link
Member

Go for it, no need to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants