modify the annotate for tags&params

Signed-off-by: xuyong <xuyong59@huawei.com>
This commit is contained in:
xuyong 2024-08-26 10:57:04 +08:00
parent 3a956fabeb
commit b69cd2d7d7

View File

@ -119,11 +119,19 @@ declare namespace hiSysEvent {
/**
* The params of the event.
*
* @type { ?object }
* @type { object }
* @syscap SystemCapability.HiviewDFX.HiSysEvent
* @systemapi hide for inner use
* @since 9
*/
/**
* The params of the event.
*
* @type { ?object }
* @syscap SystemCapability.HiviewDFX.HiSysEvent
* @systemapi hide for inner use
* @since 12
*/
params?: object;
}
@ -242,11 +250,19 @@ declare namespace hiSysEvent {
/**
* The tag of the event.
*
* @type { ?string }
* @type { string }
* @syscap SystemCapability.HiviewDFX.HiSysEvent
* @systemapi hide for inner use
* @since 9
*/
/**
* The tag of the event.
*
* @type { ?string }
* @syscap SystemCapability.HiviewDFX.HiSysEvent
* @systemapi hide for inner use
* @since 12
*/
tag?: string;
/**