Closed chlbri closed 1 year ago
astro
16.16.0
None
pnpm
Mac
For tsx files for solidjs Components, I need to configure tsconfig in order to correct typescript check errors for JSX.IntrinsicElements.
{ "extends": "astro/tsconfigs/strict", "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "solid-js" } }
https://stackblitz.com/github/chlbri/astro-site-solig-jsx-bug?file=tsconfig.json
We have a PR due to go out next week that should fix this for new projects: https://github.com/withastro/astro/pull/4959
Cool
What version of
astro
are you using?16.16.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
For tsx files for solidjs Components, I need to configure tsconfig in order to correct typescript check errors for JSX.IntrinsicElements.
Link to Minimal Reproducible Example
https://stackblitz.com/github/chlbri/astro-site-solig-jsx-bug?file=tsconfig.json
Participation