Bump typescript, lint, prettier (#10108)

This commit is contained in:
Bram Kragten
2021-09-30 12:39:03 +02:00
committed by GitHub
parent ff2bf1f3c1
commit 2936865c55
294 changed files with 1553 additions and 1639 deletions

View File

@@ -46,6 +46,7 @@ import "./ha-svg-icon";
const rowRenderer: ComboBoxLitRenderer<AreaRegistryEntry> = (
item
// eslint-disable-next-line lit/prefer-static-styles
) => html`<style>
paper-item {
padding: 0;
@@ -435,7 +436,7 @@ export class HaAreaPicker extends SubscribeMixin(LitElement) {
});
this._areas = [...this._areas!, area];
this._setValue(area.area_id);
} catch (err) {
} catch (err: any) {
showAlertDialog(this, {
text: this.hass.localize(
"ui.components.area-picker.add_dialog.failed_create_area"