diff --git a/api/@ohos.app.ability.autoFillManager.d.ts b/api/@ohos.app.ability.autoFillManager.d.ts index 59c3caf071ad56836d558dd7b83a99519a66de41..d041ac7bef1f4fece50dc1e7dfdb80b39a65bc02 100644 --- a/api/@ohos.app.ability.autoFillManager.d.ts +++ b/api/@ohos.app.ability.autoFillManager.d.ts @@ -59,7 +59,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnSuccessFn = () => void; @@ -71,7 +71,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnFailureFn = () => void; @@ -109,7 +109,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onSuccess: OnSuccessFn; @@ -128,7 +128,7 @@ declare namespace autoFillManager { * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onFailure: OnFailureFn; diff --git a/api/@ohos.application.testRunner.d.ts b/api/@ohos.application.testRunner.d.ts index ebd8837d3ff1e5422ef584cfac24be8cf8e809b0..cf023bdb8b5fc9907a25fa01e8bacd92444a267e 100644 --- a/api/@ohos.application.testRunner.d.ts +++ b/api/@ohos.application.testRunner.d.ts @@ -24,7 +24,7 @@ * @typedef { Function } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnPrepareFn = () => void; @@ -35,7 +35,7 @@ type OnPrepareFn = () => void; * @typedef { Function } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnRunFn = () => void; @@ -71,7 +71,7 @@ interface TestRunner { * @type { OnPrepareFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onPrepare: OnPrepareFn; @@ -88,7 +88,7 @@ interface TestRunner { * @typedef { OnRunFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core * @atomicservice - * @since arkts {'1.1':'11', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onRun: OnRunFn; diff --git a/api/ability/connectOptions.d.ts b/api/ability/connectOptions.d.ts index 6206ab6a25160c33fae4c849f78a7ae3d00bbc3e..a527beae6c1cd8e282f83883c1a87642340ba15a 100644 --- a/api/ability/connectOptions.d.ts +++ b/api/ability/connectOptions.d.ts @@ -28,7 +28,7 @@ import rpc from './../@ohos.rpc'; * @param { ElementName } elementName - The ohos.bundleManager.ElementName object of the service ability * @param { rpc.IRemoteObject } remote - The remote object instance * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnConnectFn = (elementName: ElementName, remote: rpc.IRemoteObject) => void; @@ -39,7 +39,7 @@ type OnConnectFn = (elementName: ElementName, remote: rpc.IRemoteObject) => void * typedef { Function } * @param { ElementName } elementName - The ohos.bundleManager.ElementName object of the service ability * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnDisconnectFn = (elementName: ElementName) => void; @@ -50,7 +50,7 @@ type OnDisconnectFn = (elementName: ElementName) => void; * @typedef { Function } * @param { int } code - The error code of the failed. * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'7', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ type OnFailedFn = (code: int) => void; @@ -78,7 +78,7 @@ export interface ConnectOptions { * * @type { OnConnectFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onConnect: OnConnectFn; @@ -95,7 +95,7 @@ export interface ConnectOptions { * * @type { OnDisconnectFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'12', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onDisconnect: OnDisconnectFn; @@ -105,7 +105,7 @@ export interface ConnectOptions { * * @typedef { OnFailedFn } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @since arkts {'1.1':'7', '1.2':'20'} + * @since 20 * @arkts 1.1&1.2 */ onFailed: OnFailedFn;