次の方法で共有


ServiceEventUnion type

ServiceEvent で使用できるケースが含まれます。

type ServiceEventUnion =
  | ServiceEvent
  | ServiceCreatedEvent
  | ServiceDeletedEvent
  | ServiceNewHealthReportEvent
  | ServiceHealthReportExpiredEvent