From 748b33b2443d31b080554fcad40c2de34b42707c Mon Sep 17 00:00:00 2001 From: sunjie Date: Tue, 12 Aug 2025 11:06:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20=E8=93=9D=E9=BB=84=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunjie --- api/@ohos.fontManager.d.ts | 4 ++-- api/global/rawFileDescriptor.d.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/api/@ohos.fontManager.d.ts b/api/@ohos.fontManager.d.ts index b661f598b4..8f010e87ff 100644 --- a/api/@ohos.fontManager.d.ts +++ b/api/@ohos.fontManager.d.ts @@ -33,7 +33,7 @@ declare namespace fontManager { * * @permission ohos.permission.UPDATE_FONT * @param { string } path - path indicates the font path. - * @returns { Promise } - int indicates the font installation result. + * @returns { Promise } - Number indicates the font installation result. * 0 - Install successful. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 202 - Non-system application. @@ -55,7 +55,7 @@ declare namespace fontManager { * * @permission ohos.permission.UPDATE_FONT * @param { string } fullName - fullName indicates the font name. - * @returns { Promise } - int indicates the font uninstallation result. + * @returns { Promise } - number indicates the font uninstallation result. * 0 - Uninstall successful. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 202 - Non-system application. diff --git a/api/global/rawFileDescriptor.d.ts b/api/global/rawFileDescriptor.d.ts index 2f7b37bcaf..4d1780bcdb 100644 --- a/api/global/rawFileDescriptor.d.ts +++ b/api/global/rawFileDescriptor.d.ts @@ -16,7 +16,6 @@ /** * @file * @kit LocalizationKit - * @arkts 1.1&1.2 */ /** @@ -65,6 +64,7 @@ export interface RawFileDescriptor { * @crossplatform * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ fd: int; @@ -89,6 +89,7 @@ export interface RawFileDescriptor { * @crossplatform * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ offset: long; @@ -113,6 +114,7 @@ export interface RawFileDescriptor { * @crossplatform * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ length: long; } \ No newline at end of file -- Gitee From 9fbdb647cd944032a823ccd9deefde1459326805 Mon Sep 17 00:00:00 2001 From: sj Date: Tue, 12 Aug 2025 04:14:08 +0000 Subject: [PATCH 2/2] update api/global/rawFileDescriptor.d.ts. Signed-off-by: sj --- api/global/rawFileDescriptor.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/global/rawFileDescriptor.d.ts b/api/global/rawFileDescriptor.d.ts index 4d1780bcdb..f7ddde71da 100644 --- a/api/global/rawFileDescriptor.d.ts +++ b/api/global/rawFileDescriptor.d.ts @@ -41,6 +41,7 @@ * @crossplatform * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ export interface RawFileDescriptor { /** -- Gitee