Open deanveloper opened 2 years ago
Upon playing around with config.jsonc
a bit more, it looks like the following config works (not actually tested):
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "https://deno.land/x/sift@0.4.2/mod.ts",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
},
}
However this still doesn't resolve the JSX.IntrinsicElements issue.
it appears that even using the "catch-all" that Microsoft provides doesn't fix the JSX.IntrinsicElements issue:
It's possible to set up deno to use other JSX runtimes, as seen here - https://deno.land/manual@v1.17.1/jsx_dom/jsx
How would I change this so that deno "just works" with sift's
jsx
andh
functions? I'd like to avoid explicitly importingh
if possible.Also, I'm running into another issue:
How would I go about fixing it so that types are imported properly?