Update src/panels/lovelace/hui-root.ts

Co-Authored-By: balloob <paulus@home-assistant.io>
This commit is contained in:
Ian Richardson 2018-12-11 19:03:01 +01:00 committed by GitHub
parent a46f5e3d4e
commit 0a8f853a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ class HUIRoot extends hassLocalizeLitMixin(LitElement) {
);
}
public disconnectedCallback() {
public disconnectedCallback(): void {
super.disconnectedCallback();
if (this._unsubNotifications) {
this._unsubNotifications();