Add type import check to eslint (#22488)

* Add type import check to eslint

* Add type imports with eslint --fix
This commit is contained in:
Wendelin
2024-10-30 12:12:30 +01:00
committed by GitHub
parent cda34a6ffd
commit 830d8d2410
1614 changed files with 6260 additions and 7172 deletions

View File

@@ -1,14 +1,16 @@
import { css, html, LitElement, PropertyValues, nothing } from "lit";
import type { PropertyValues } from "lit";
import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { computeStateName } from "../../../common/entity/compute_state_name";
import "../../../components/ha-textfield";
import { isUnavailableState, UNAVAILABLE } from "../../../data/entity";
import { setValue, TextEntity } from "../../../data/text";
import { HomeAssistant } from "../../../types";
import type { TextEntity } from "../../../data/text";
import { setValue } from "../../../data/text";
import type { HomeAssistant } from "../../../types";
import { hasConfigOrEntityChanged } from "../common/has-changed";
import "../components/hui-generic-entity-row";
import { createEntityNotFoundWarning } from "../components/hui-warning";
import { EntityConfig, LovelaceRow } from "./types";
import type { EntityConfig, LovelaceRow } from "./types";
@customElement("hui-text-entity-row")
class HuiTextEntityRow extends LitElement implements LovelaceRow {