From b69cd2d7d7ab358aec563f0bf88645e75e22b346 Mon Sep 17 00:00:00 2001 From: xuyong Date: Mon, 26 Aug 2024 10:57:04 +0800 Subject: [PATCH] modify the annotate for tags¶ms Signed-off-by: xuyong --- api/@ohos.hiSysEvent.d.ts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/api/@ohos.hiSysEvent.d.ts b/api/@ohos.hiSysEvent.d.ts index 95fd3ea46..f4401ee2f 100644 --- a/api/@ohos.hiSysEvent.d.ts +++ b/api/@ohos.hiSysEvent.d.ts @@ -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; /**