aabluedragon
aabluedragon
SSolidJS
Created by aabluedragon on 6/15/2024 in #support
Importing external .d.ts declarations for Web Components
5 replies
SSolidJS
Created by aabluedragon on 4/23/2023 in #support
Using WebComponents in SolidJS
Hi, I'm trying to use Sencha WebComponents in SolidJS: https://docs.sencha.com/extwebcomponents/7.5.0/guides/getting_started/getting_started_existing_javascript_modern.html I got it working, however there are typescript warnings for every sencha element used (even though it works in the browser):
<ext-toolbar> {/* Shows a warning */}
<ext-button text="get now" ontap="getNow"></ext-button> {/* Shows a warning */}
<div id='updateDiv' style="margin-left:20px;"></div> {/* No warning here */}
</ext-toolbar> {/* Shows a warning */}
<ext-toolbar> {/* Shows a warning */}
<ext-button text="get now" ontap="getNow"></ext-button> {/* Shows a warning */}
<div id='updateDiv' style="margin-left:20px;"></div> {/* No warning here */}
</ext-toolbar> {/* Shows a warning */}
Is there any way to bypass these warnings? Thanks.
27 replies