From cdc8a0345872825a4efaafa525ecebac1daad107 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Wed, 23 Jul 2025 10:20:25 +0800 Subject: [PATCH] number change int Signed-off-by: zhangzezhong --- api/@ohos.app.ability.AtomicServiceOptions.d.ts | 4 ++-- api/ability/connectOptions.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.app.ability.AtomicServiceOptions.d.ts b/api/@ohos.app.ability.AtomicServiceOptions.d.ts index 694576fe14..11e0f24b8c 100644 --- a/api/@ohos.app.ability.AtomicServiceOptions.d.ts +++ b/api/@ohos.app.ability.AtomicServiceOptions.d.ts @@ -34,14 +34,14 @@ export default class AtomicServiceOptions extends StartOptions { /** * The options of the flags in this AtomicServiceOptions. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - flags?: number; + flags?: int; /** * The description of the WantParams object in an AtomicServiceOptions diff --git a/api/ability/connectOptions.d.ts b/api/ability/connectOptions.d.ts index f3235571e0..ba55aa9e5d 100644 --- a/api/ability/connectOptions.d.ts +++ b/api/ability/connectOptions.d.ts @@ -70,10 +70,10 @@ export interface ConnectOptions { /** * The callback interface was connect failed. * - * @param { number } code - The error code of the failed. + * @param { int } code - The error code of the failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @since arkts {'1.1':'7', '1.2':'20'} * @arkts 1.1&1.2 */ - onFailed(code: number): void; + onFailed(code: int): void; } -- Gitee