diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 0a2d2edefc144f1b7b2311cef3f31a8004bc8bcb..ef281097d718f10554ba777dfff5856ac0e4a5c1 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -29857,7 +29857,17 @@ declare class CustomComponent extends BaseCustomComponent { * @atomicservice * @since 11 */ - aboutToReuse?(params: { [key: string]: unknown }): void; + /** + * Invoked when a reusable custom component is re-added to the node tree + * from the reuse cache to receive construction parameters of the component. + * + * @param { Record } params - Custom component init params. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ + aboutToReuse?(params: Record): void; /** * Custom component override this method to layout each of its sub components.