From c0aa74ca4e40f487f3f8ab724b151d083643a319 Mon Sep 17 00:00:00 2001 From: chenjiafeng10 Date: Sat, 9 Aug 2025 09:47:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Styleoptions=20number?= =?UTF-8?q?=E8=BD=ACint=E5=90=8C=E6=AD=A5=E5=88=B00728=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenjiafeng10 Change-Id: Iee785420fcaa8e1c4b552f29e978f4644f43217a --- api/@internal/component/ets/styled_string.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/@internal/component/ets/styled_string.d.ts b/api/@internal/component/ets/styled_string.d.ts index a5ddf911e2..78895aa8a4 100644 --- a/api/@internal/component/ets/styled_string.d.ts +++ b/api/@internal/component/ets/styled_string.d.ts @@ -282,26 +282,26 @@ declare interface StyleOptions { /** * The start position of the StyleOptions. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - start?: number; + start?: int; /** * The length of the modifiedStyledString's characters. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - length?: number; + length?: int; /** * The attribute key of the StyleOptions. @@ -2277,4 +2277,4 @@ declare abstract class CustomSpan { * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ -declare abstract class UserDataSpan {} \ No newline at end of file +declare abstract class UserDataSpan {} -- Gitee