mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Fix incompatible object/array property types (2 of 3) (#19482)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user