From 9f0cd2ae4abf3122a387e352b0a3306205de59fe Mon Sep 17 00:00:00 2001 From: yuxiaofei9 Date: Fri, 12 Sep 2025 15:05:05 +0800 Subject: [PATCH] =?UTF-8?q?[feate]=E9=AB=98=E7=BA=A7=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=A4=B4=E6=96=87=E4=BB=B6int=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuxiaofei9 --- ...kui.advanced.GridObjectSortComponent.static.d.ets | 12 ++++++------ api/@ohos.arkui.advanced.ProgressButton.static.d.ets | 4 ++-- ...ohos.arkui.advanced.ProgressButtonV2.static.d.ets | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api/@ohos.arkui.advanced.GridObjectSortComponent.static.d.ets b/api/@ohos.arkui.advanced.GridObjectSortComponent.static.d.ets index 31859fb7f6..1e35f58caa 100644 --- a/api/@ohos.arkui.advanced.GridObjectSortComponent.static.d.ets +++ b/api/@ohos.arkui.advanced.GridObjectSortComponent.static.d.ets @@ -60,11 +60,11 @@ export interface GridObjectSortComponentItem { /** * id of GridObjectSortComponent item. * - * @type { number | string } + * @type { int | string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - id: number | string; + id: int | string; /** * GridObjectSortComponent item text. * @@ -84,11 +84,11 @@ export interface GridObjectSortComponentItem { /** * order of GridObjectSortComponentItem, Used for sorting dataList. * - * @type { number } + * @type { int } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - order: number; + order: int; /** * image resource path of the GridObjectSortComponent item. * @@ -127,11 +127,11 @@ export interface GridObjectSortComponentOptions { /** * The size of the GridObjectSortComponent image. * - * @type { ?(number | Resource) } + * @type { ?(int | Resource) } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - imageSize?: number | Resource; + imageSize?: int | Resource; /** * The title displayed in the unedited state of the GridObjectSortComponent. * diff --git a/api/@ohos.arkui.advanced.ProgressButton.static.d.ets b/api/@ohos.arkui.advanced.ProgressButton.static.d.ets index 585a1fafd6..c504438ddf 100644 --- a/api/@ohos.arkui.advanced.ProgressButton.static.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButton.static.d.ets @@ -35,12 +35,12 @@ export declare struct ProgressButton { /** * Sets the content when progress. * - * @type { int } + * @type { double } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static */ @PropRef - progress: int; + progress: double; /** * Sets the ProgressButton content. * diff --git a/api/@ohos.arkui.advanced.ProgressButtonV2.static.d.ets b/api/@ohos.arkui.advanced.ProgressButtonV2.static.d.ets index af96bfe0ae..9f145f4227 100644 --- a/api/@ohos.arkui.advanced.ProgressButtonV2.static.d.ets +++ b/api/@ohos.arkui.advanced.ProgressButtonV2.static.d.ets @@ -36,14 +36,14 @@ export declare struct ProgressButtonV2 { /** * Sets the ProgressButtonV2 progress. * - * @type { int } + * @type { double } * @readonly * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ @Require @Param - readonly progress: int; + readonly progress: double; /** * Sets the ProgressButtonV2 content. * -- Gitee