SolidJSS
SolidJS•3y ago•
5 replies
DaOfficialWizardđź§™

WebComponent Support

I am trying to use a WebComponent based package - so i tried:
declare global {
    namespace JSX {
        interface IntrinsicElements {
            item: 'esp-web-tools'
        }
    }
}

However, i still get the error: Property 'esp-web-tools' does not exist on type 'JSX.IntrinsicElements'.

How does one do this properly in SolidJS? This exact method worked fine in React - so not sure what to do here.
Was this page helpful?