diff --git a/api/arkui/component/styledString.static.d.ets b/api/arkui/component/styledString.static.d.ets index 09dd921febf92ee964798665eae4bb5602217641..3c56d15f317fbbbb743a539da1ed344c1d1eeb0c 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 3769535dcb532ec4ec1eadb1006663b4e982cb4c..825a0ca14cdb80c11e0b895073a5352091c56487 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. *