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

Property 'math' does not exist on type 'JSX.IntrinsicElements'. #2380

Open
greyhillman opened this issue Dec 12, 2024 · 1 comment
Open

Property 'math' does not exist on type 'JSX.IntrinsicElements'. #2380

greyhillman opened this issue Dec 12, 2024 · 1 comment
Labels
typescript relating to typescript or types

Comments

@greyhillman
Copy link

Describe the bug

solid-js does not have MathML Core elements in the JSX. This leads to type-checking errors.

Your Example Website or App

https://stackblitz.com/edit/solidjs-templates-69oewx1h?file=src%2FApp.tsx

Steps to Reproduce the Bug or Issue

  1. Go to "App.tsx" in the Stackblitz URL.
  2. Go to line 24.

Expected behavior

No type-checking error.

Screenshots or Videos

No response

Platform

  • OS: Linux
  • Browser: Firefox (Nightly)
  • Version: v135

Additional context

The code executes fine; just type-checking errors from TypeScript.

@ryansolid ryansolid added the typescript relating to typescript or types label Dec 12, 2024
@titoBouzout
Copy link
Contributor

There are two PRs related to MathML

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

No branches or pull requests

3 participants