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 { HomeAssistant } from "../../../types";
import { fireEvent } from "../../../common/dom/fire_event";
@@ -19,7 +23,7 @@ export class HuiEntityEditor extends LitElement {
};
}
protected render(): TemplateResult {
protected render(): TemplateResult | void {
if (!this.entities) {
return html``;
}