From 97a6d9f6c315225e5f7839917866aff55beb8037 Mon Sep 17 00:00:00 2001 From: sokolovairina Date: Thu, 14 Aug 2025 17:23:56 +0300 Subject: [PATCH] Decouple $_instantiate generics from CustomComponent type params Signed-off-by: sokolovairina --- api/arkui/component/customComponent.static.d.ets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/arkui/component/customComponent.static.d.ets b/api/arkui/component/customComponent.static.d.ets index 811c354462..ba96259cbe 100644 --- a/api/arkui/component/customComponent.static.d.ets +++ b/api/arkui/component/customComponent.static.d.ets @@ -231,12 +231,12 @@ export declare abstract class CustomComponent T, - initializers?: T_Options, + static $_instantiate, OptionsS>( + factory: () => S, + initializers?: OptionsS, reuseId?: string, @Builder content?: () => void - ): T + ): S /** * aboutToReuse Method -- Gitee