mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-27 11:47:20 +00:00
Add compatibility for Lit 2.0 (#8878)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { HassEntity } from "home-assistant-js-websocket";
|
||||
import {
|
||||
css,
|
||||
CSSResult,
|
||||
CSSResultGroup,
|
||||
customElement,
|
||||
html,
|
||||
LitElement,
|
||||
@@ -58,7 +58,7 @@ class HaAttributes extends LitElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
static get styles(): CSSResultGroup {
|
||||
return [
|
||||
haStyle,
|
||||
css`
|
||||
|
||||
Reference in New Issue
Block a user