diff --git a/api/wantAgent/triggerInfo.d.ts b/api/wantAgent/triggerInfo.d.ts index b487d2f2f71243fbd1058d6a5f915983b9cd1f20..8562e2f9dc7334ef36eb48cba40cd88f86871d41 100644 --- a/api/wantAgent/triggerInfo.d.ts +++ b/api/wantAgent/triggerInfo.d.ts @@ -126,9 +126,8 @@ export interface TriggerInfo { /** * Custom extra data you want to add for triggering a WantAgent. * - * @type { ?object } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @atomicservice * @since 20 * @arkts 1.2 */ diff --git a/api/wantAgent/wantAgentInfo.d.ts b/api/wantAgent/wantAgentInfo.d.ts index 862c11200342264a640677ce74acf4ca0580adf6..e6a44da7bcc6a15c0ea3b5b1fe7d42f016364214 100644 --- a/api/wantAgent/wantAgentInfo.d.ts +++ b/api/wantAgent/wantAgentInfo.d.ts @@ -178,9 +178,8 @@ export interface WantAgentInfo { * Extra information about how the Want starts an ability. * If there is no extra information to set, this constant can be left empty. * - * @type { ?object } + * @type { ?Record } * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @atomicservice * @since 20 * @arkts 1.2 */