From 7a00b765a3081138c328ec421ffca937672943e4 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Fri, 11 Jul 2025 14:06:02 +0800 Subject: [PATCH] fix extrainfo Signed-off-by: zhangzezhong --- api/wantAgent/triggerInfo.d.ts | 3 +-- api/wantAgent/wantAgentInfo.d.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/wantAgent/triggerInfo.d.ts b/api/wantAgent/triggerInfo.d.ts index b487d2f2f7..8562e2f9dc 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 862c112003..e6a44da7bc 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 */ -- Gitee