Add to HTML tag name map (#1900)

This commit is contained in:
Ian Richardson 2018-10-28 03:00:37 -05:00 committed by Paulus Schoutsen
parent f3ef4cef74
commit d31195fc87

View File

@ -14,7 +14,7 @@ interface Config extends LovelaceConfig {
}
class HuiPictureElementsCard extends LitElement implements LovelaceCard {
protected _config?: Config;
private _config?: Config;
private _hass?: HomeAssistant;
static get properties() {
@ -102,4 +102,10 @@ class HuiPictureElementsCard extends LitElement implements LovelaceCard {
}
}
declare global {
interface HTMLElementTagNameMap {
"hui-picture-elements-card": HuiPictureElementsCard;
}
}
customElements.define("hui-picture-elements-card", HuiPictureElementsCard);