diff --git a/api/@internal/component/ets/styled_string.d.ts b/api/@internal/component/ets/styled_string.d.ts index a5ddf911e219a663d21a93cfb2666e2e8b78ce63..78895aa8a46502aa794bb901c00d6555f7865d35 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 {}