Interface CustomElementRegistry

    interface CustomElementRegistry {
        define(
            name: string,
            constructor: CustomElementConstructor,
            options?: ElementDefinitionOptions,
        ): void;
        get(name: string): CustomElementConstructor;
        getName(constructor: CustomElementConstructor): string;
        upgrade(root: Node): void;
        whenDefined(name: string): Promise<CustomElementConstructor>;
    }

    Methods