diff --git a/api/@ohos.events.emitter.d.ts b/api/@ohos.events.emitter.d.ts index a36debc3175ef4498d82f9e6321a19c8df70a066..978f1ab1ee5cdee05612adaca8be9f5b52924ce7 100644 --- a/api/@ohos.events.emitter.d.ts +++ b/api/@ohos.events.emitter.d.ts @@ -544,10 +544,9 @@ declare namespace emitter { /** * Data carried by the event. * - * @type { ?object } + * @type { ?Record } * @syscap SystemCapability.Notification.Emitter * @crossplatform - * @atomicservice * @since 20 * @arkts 1.2 */ diff --git a/api/commonEvent/commonEventData.d.ts b/api/commonEvent/commonEventData.d.ts index 7b8710b26ac943c74048f55df0b1db9dee4a5e69..24833aee31f7b56fecac1d79f1bb12bf6c2b4805 100644 --- a/api/commonEvent/commonEventData.d.ts +++ b/api/commonEvent/commonEventData.d.ts @@ -140,9 +140,8 @@ export interface CommonEventData { /** * The description of the parameters in a common event. * - * @type { ?object } + * @type { ?Record } * @syscap SystemCapability.Notification.CommonEvent - * @atomicservice * @since 20 * @arkts 1.2 */ diff --git a/api/commonEvent/commonEventPublishData.d.ts b/api/commonEvent/commonEventPublishData.d.ts index 40d88120ea9ad8195bc8da7c84cfc9a0109c5819..6b71b21cad44bd9f689744e6aaa407ba85c514ee 100644 --- a/api/commonEvent/commonEventPublishData.d.ts +++ b/api/commonEvent/commonEventPublishData.d.ts @@ -169,9 +169,8 @@ export interface CommonEventPublishData { /** * The description of the parameters in a common event. * - * @type { ?object } + * @type { ?Record } * @syscap SystemCapability.Notification.CommonEvent - * @atomicservice * @since 20 * @arkts 1.2 */ diff --git a/api/notification/notificationSubscriber.d.ts b/api/notification/notificationSubscriber.d.ts index 45fec8ee17dc904e230fff374deeb8dcb12dfd37..7fa0bd5607e7485d070991cf41175a392797d157 100644 --- a/api/notification/notificationSubscriber.d.ts +++ b/api/notification/notificationSubscriber.d.ts @@ -383,19 +383,11 @@ export interface BadgeEnabledChangedCallback { } /** - * Defines the callback of BadgeEnabledChanged. - * @typedef BadgeEnabledChangedCallback + * Defines the BadgeEnabledChanged callback. + * @param { EnabledNotificationCallbackData } data * @syscap SystemCapability.Notification.Notification + * @systemapi * @since 20 * @arkts 1.2 */ - - /** - * Defines the BadgeEnabledChanged callback. - * @param { EnabledNotificationCallbackData } data - * @syscap SystemCapability.Notification.Notification - * @systemapi - * @since 20 - * @arkts 1.2 - */ export type BadgeEnabledChangedCallback = (data: EnabledNotificationCallbackData) => void;