diff --git a/api/@ohos.arkui.inspector.static.d.ets b/api/@ohos.arkui.inspector.static.d.ets index a454ff026763f729aa800ac4d92fbe9b1e1cbf1d..bcdaf4a9ff9b72b89dd02ab4ee9644de293d080c 100644 --- a/api/@ohos.arkui.inspector.static.d.ets +++ b/api/@ohos.arkui.inspector.static.d.ets @@ -107,16 +107,6 @@ declare namespace inspector { overload off { offLayout, offDraw, offDrawChildren } } - /** - * Sets the component after layout or draw criteria and returns the corresponding listening handle - * @param { string } id - component id. - * @returns { ComponentObserver } create listener for observer component event. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @since 20 - * @deprecated since 18 - * @useinstead ohos.arkui.UIContext.UIInspector#createComponentObserver - */ - function createComponentObserver(id: string): ComponentObserver; /** * Obtains all attributes of the component with the specified ID. * diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets index 404022f5a9bca955ce1a1d996703bc5ebb5fd4db..8c55de65cd3b0bad7fc01fee74e2850186d0f0d6 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -10858,12 +10858,12 @@ export declare interface CommonMethod { *
text, the screen reader will concatenate text from its child components (depth-first traversal). *
To prioritize accessibility text concatenation, set accessibilityPreferred in accessibilityGroup. *

- * @param { Resource | undefined } text - set accessibility text + * @param { Resource } text - set accessibility text * @returns { this } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - default accessibilityTextOfResourceType(text: Resource | undefined): this; + default accessibilityTextOfResourceType(text: Resource): this; /** * @since 20 */ @@ -10914,12 +10914,12 @@ export declare interface CommonMethod { *
cannot be learned from component attributes and accessibility text. If a component contains *
both text information and the accessibility description, the text is read first and then the *
accessibility description, when the component is selected.

- * @param { Resource | undefined } description - set description of accessibility + * @param { Resource } description - set description of accessibility * @returns { this } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - default accessibilityDescriptionOfResourceType(description: Resource | undefined): this; + default accessibilityDescriptionOfResourceType(description: Resource): this; /** * @since 20 */