license /**
 * Registers a custom element, ensuring it is not double-defined.
 */ export function defineElement ( name , base ) { if ( customElements . get ( name ) ) { return ; } customElements . define ( name , base as unknown as ( ) => void ) ; }