JSX.Element

Namespace ... JSX has no exported member 'Element'. I have a simple type like this
export type PageProps = {
tags: Tags
children?: JSX.Element[]
}
export type PageProps = {
tags: Tags
children?: JSX.Element[]
}
My tsconfig includes
...
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
...
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
Any idea how to remove the error?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server