From 3b823bd9ed39ed27764650a42fbb24a10b727a7e Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 22 Feb 2024 14:32:31 -0700 Subject: [PATCH] Fix some minor type bugs - using disabled in implementing classesd would cause IDE to complain it was missing - superclass type was being lost --- api/js/etemplate/Et2InputWidget/Et2InputWidget.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts b/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts index e3daa59221..5a47ea4ffc 100644 --- a/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts +++ b/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts @@ -25,6 +25,7 @@ window.customElements.define('lion-validation-feedback', LionValidationFeedback) export declare class Et2InputWidgetInterface { readonly : boolean; + disabled : boolean; protected value : string | number | Object; public required : boolean; @@ -710,6 +711,6 @@ const Et2InputWidgetMixin = >(superclass : T) } } - return Et2InputWidgetClass; + return Et2InputWidgetClass as Constructor & T; } export const Et2InputWidget = dedupeMixin(Et2InputWidgetMixin); \ No newline at end of file