export function customElementForwardEvents(svelteCustomElementClass) {
    return class extends svelteCustomElementClass {
        constructor() {
            super();
            this.shadowRoot?.addEventListener('change', (event) => {
                const clonedEvent = new event.constructor(event.type, event);
                this.dispatchEvent(clonedEvent);
            });
        }
    };
}
