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
+8
View File
@@ -9,6 +9,7 @@ import {
import { customElement, property } from 'lit/decorators.js';
import { createRef, ref, Ref } from 'lit/directives/ref.js';
import 'side-drawer';
import { SideDrawer } from 'side-drawer';
import drawerInjectStyle from '../scss/drawer-inject.scss';
import drawerStyle from '../scss/drawer.scss';
@@ -125,3 +126,10 @@ export class FrigateCardDrawer extends LitElement {
return unsafeCSS(drawerStyle);
}
}
declare global {
interface HTMLElementTagNameMap {
"frigate-card-drawer": FrigateCardDrawer
"side-drawer": SideDrawer,
}
}