Fix incompatible object/array property types (2 of 3) (#19482)

This commit is contained in:
Steve Repsher
2024-01-22 10:04:58 -05:00
committed by GitHub
parent 28a8863f45
commit 349344161a
58 changed files with 97 additions and 89 deletions

View File

@@ -47,11 +47,11 @@ export interface DateRangePickerRanges {
export class HaDateRangePicker extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;
@property() public startDate!: Date;
@property({ attribute: false }) public startDate!: Date;
@property() public endDate!: Date;
@property({ attribute: false }) public endDate!: Date;
@property() public ranges?: DateRangePickerRanges | false;
@property({ attribute: false }) public ranges?: DateRangePickerRanges | false;
@state() private _ranges?: DateRangePickerRanges;