@alegendstale/holly-components
Version:
Reusable UI components created using lit
9 lines • 404 B
TypeScript
import type { LitElement } from "lit";
type 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