UNPKG

@alegendstale/holly-components

Version:

Reusable UI components created using lit

11 lines 408 B
import type { LitElement } from "lit"; interface Constructor<T> { new (...args: any[]): T; } /** * Registers a new custom element if it doesn't already exist. * @param tagName The tag name of the custom element to define. */ export declare function condCustomElement(tagName: string): <T extends Constructor<LitElement>>(constructor: T) => T; export {}; //# sourceMappingURL=condCustomElement.d.ts.map