Clean lit-plugin warnings

This commit is contained in:
Dermot Duffy
2022-06-19 07:30:08 +00:00
parent 2027d32e7f
commit ffa31c05ed
28 changed files with 464 additions and 552 deletions
+9 -3
View File
@@ -29,13 +29,13 @@ export class FrigateCardImage extends LitElement {
public hass?: HomeAssistant;
@property({ attribute: false })
protected view?: Readonly<View>;
public view?: Readonly<View>;
@property({ attribute: false })
protected cameraConfig?: CameraConfig;
public cameraConfig?: CameraConfig;
@property({ attribute: false })
protected imageConfig?: ImageViewConfig;
public imageConfig?: ImageViewConfig;
protected _refImage: Ref<HTMLImageElement> = createRef();
@@ -249,3 +249,9 @@ export class FrigateCardImage extends LitElement {
return unsafeCSS(imageStyle);
}
}
declare global {
interface HTMLElementTagNameMap {
"frigate-card-image": FrigateCardImage
}
}