diff --git a/interfaces/ets/ani/hisysevent/ets/@ohos.hiSysEvent.ets b/interfaces/ets/ani/hisysevent/ets/@ohos.hiSysEvent.ets index 77099b0235285c2ecba7219bb1f41b928cb04ee5..09f0304dcf3763ceb0a50a7d693e0269e473a155 100644 --- a/interfaces/ets/ani/hisysevent/ets/@ohos.hiSysEvent.ets +++ b/interfaces/ets/ani/hisysevent/ets/@ohos.hiSysEvent.ets @@ -19,7 +19,7 @@ class SysEventInfoAni implements hiSysEvent.SysEventInfo { domain: string = ""; name: string = ""; eventType: hiSysEvent.EventType = hiSysEvent.EventType.FAULT; - params?: Record; + params?: Record | null | undefined; } class WatcherAni implements hiSysEvent.Watcher { @@ -37,14 +37,14 @@ class QueryArgAni implements hiSysEvent.QueryArg { beginTime: long = 0; endTime: long = 0; maxEvents: long = 0; - fromSeq?: long | undefined; - toSeq?: long | undefined; + fromSeq?: long | null | undefined; + toSeq?: long | null | undefined; } class QueryRuleAni implements hiSysEvent.QueryRule { domain: string = ""; names: string[] = []; - condition?: string | undefined; + condition?: string | null | undefined; } interface Result { @@ -70,7 +70,7 @@ export default namespace hiSysEvent { domain: string; name: string; eventType: EventType; - params?: Record; + params?: Record | null | undefined; } export interface Watcher { @@ -82,7 +82,7 @@ export default namespace hiSysEvent { export interface WatchRule { domain: string; name: string; - tag?: string; + tag?: string | null | undefined; ruleType: RuleType; } @@ -95,15 +95,15 @@ export default namespace hiSysEvent { export interface QueryRule { domain: string; names: string[]; - condition?: string; + condition?: string | null | undefined; } export interface QueryArg { beginTime: long; endTime: long; maxEvents: long; - fromSeq?: long; - toSeq?: long; + fromSeq?: long | null | undefined; + toSeq?: long | null | undefined; } export interface Querier {