From 08c9b22c7c9c863f396f150eeb1e0d7f3c083197 Mon Sep 17 00:00:00 2001 From: liuyongkai2 Date: Sat, 13 Sep 2025 17:17:59 +0800 Subject: [PATCH] warningFix_v2 Signed-off-by: liuyongkai2 --- api/arkui/component/styledString.static.d.ets | 4 ++-- api/arkui/component/textCommon.static.d.ets | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/arkui/component/styledString.static.d.ets b/api/arkui/component/styledString.static.d.ets index 09dd921feb..3c56d15f31 100644 --- a/api/arkui/component/styledString.static.d.ets +++ b/api/arkui/component/styledString.static.d.ets @@ -854,8 +854,8 @@ export declare class MutableStyledString extends StyledString { /** * constructor. * - * @param { string | ImageAttachment | CustomSpan } value - * - indicates the current object value of the MutableStyledString. + * @param { string | ImageAttachment | CustomSpan } value - indicates the current object value of + * the MutableStyledString. * @param { Array } [styles] - indicates the SpanStyle objects. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 diff --git a/api/arkui/component/textCommon.static.d.ets b/api/arkui/component/textCommon.static.d.ets index 3769535dcb..825a0ca14c 100644 --- a/api/arkui/component/textCommon.static.d.ets +++ b/api/arkui/component/textCommon.static.d.ets @@ -297,8 +297,7 @@ export type OnDidChangeCallback = (rangeBefore: TextRange, rangeAfter: TextRange * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ -export type EditableTextOnChangeCallback = - (value: string, previewText?: PreviewText, options?: TextChangeOptions) => void; +export type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText, options?: TextChangeOptions) => void; /** * Define the text selection controller. * -- Gitee