import h, { type CreateElement } from "../../html"; class NotiveGridElement extends HTMLElement { foo: string; connectedCallback() { this.appendChild(h.p("OK: " + this.foo)); } } customElements.define("ntv-grid", NotiveGridElement); export default ((...args: any[]): NotiveGridElement => (h as any)["ntv-grid"](...args)) as CreateElement;