diff --git a/api/@internal/component/ets/text.d.ts b/api/@internal/component/ets/text.d.ts index 457644795b2a119cf53ec4222dcf633766059112..52681e8f9c99c699c26a502a78d6702ac58dd390 100644 --- a/api/@internal/component/ets/text.d.ts +++ b/api/@internal/component/ets/text.d.ts @@ -1652,18 +1652,6 @@ declare class TextAttribute extends CommonMethod { */ halfLeading(halfLeading: boolean): TextAttribute; - /** - * Set to remove trailing spaces from text. - * - * @param { Optional } trim - * @returns { TextAttribute } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - trimSpace(trim: Optional): TextAttribute; - /** * Enable or disable haptic feedback. *