upgrade lit (#2458)

* upgrade lit

* Lint
This commit is contained in:
Paulus Schoutsen
2019-01-12 23:32:53 -08:00
committed by GitHub
parent 0f53b7c832
commit b0d32b5674
108 changed files with 499 additions and 367 deletions

View File

@@ -1,5 +1,9 @@
import { html, LitElement, PropertyDeclarations } from "@polymer/lit-element";
import { TemplateResult } from "lit-html";
import {
html,
LitElement,
PropertyDeclarations,
TemplateResult,
} from "lit-element";
import "../components/hui-generic-entity-row";
import "./hui-error-entity-row";
@@ -28,7 +32,7 @@ class HuiTextEntityRow extends hassLocalizeLitMixin(LitElement)
this._config = config;
}
protected render(): TemplateResult {
protected render(): TemplateResult | void {
if (!this._config || !this.hass) {
return html``;
}