EventMessage type

type EventMessage = {
  error: EventError,
  eventType: EventType,
  interactionType: InteractionType | null,
  payload: EventPayload,
  timestamp: number,
}