mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix some minor type bugs
- using disabled in implementing classesd would cause IDE to complain it was missing - superclass type was being lost
This commit is contained in:
parent
1bd9758af1
commit
3b823bd9ed
@ -25,6 +25,7 @@ window.customElements.define('lion-validation-feedback', LionValidationFeedback)
|
|||||||
export declare class Et2InputWidgetInterface
|
export declare class Et2InputWidgetInterface
|
||||||
{
|
{
|
||||||
readonly : boolean;
|
readonly : boolean;
|
||||||
|
disabled : boolean;
|
||||||
protected value : string | number | Object;
|
protected value : string | number | Object;
|
||||||
|
|
||||||
public required : boolean;
|
public required : boolean;
|
||||||
@ -710,6 +711,6 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Et2InputWidgetClass;
|
return Et2InputWidgetClass as Constructor & T;
|
||||||
}
|
}
|
||||||
export const Et2InputWidget = dedupeMixin(Et2InputWidgetMixin);
|
export const Et2InputWidget = dedupeMixin(Et2InputWidgetMixin);
|
Loading…
Reference in New Issue
Block a user