We need to implement something like this:
declare global {
namespace JSX {
interface IntrinsicElements {
[...]
"ion-toggle": Components.IonToggleAttributes;
"ion-toolbar": Components.IonToolbarAttributes;
"ion-virtual-scroll": Components.IonVirtualScrollAttributes;
}
}
}