diff --git a/api/@ohos.app.ability.AtomicServiceOptions.d.ts b/api/@ohos.app.ability.AtomicServiceOptions.d.ts index 694576fe14fb3ac43444286703af9416ddd47ac3..11e0f24b8c577f79578e530497cb87669a0c9589 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 f3235571e0c31a8a10106fac3b6f4b48471743bc..ba55aa9e5dd74b7d6e5545c3d6f18fb24ab8c6f8 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; }