Fix tile card typings (#15529)

This commit is contained in:
Paul Bottein 2023-02-21 12:11:44 +01:00 committed by GitHub
parent a03c335331
commit 3e72b1cb5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ export class HuiTileCardFeaturesEditor extends LitElement {
.filter((type) => this._supportsFeatureType(type));
}
protected render(): TemplateResult {
protected render(): TemplateResult | null {
if (!this.features || !this.hass) {
return null;
}