TypeScript Version: 4.5.2
Search Terms:
no interface JSX.IntrinsicElements exists
Code
import type {JSX} from 'solid-js'
type test = JSX.IntrinsicElements // <-- no error, the type exists.
const d = <div /> // Error: JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
playground
Expected behavior:
It should see the definition of JSX.IntrinsicElements which is present due to the import statement.
Actual behavior:
"no interface JSX.IntrinsicElements exists"