# Interface UniversalEvent

interface UniversalEvent {
currentTarget?: any;
target?: any;
type: string;
}

#### Hierarchy (View Summary)

- UniversalEvent
  - UniversalErrorEvent
  - UniversalMessageEvent

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:2

##### Index

### Properties

currentTarget?
target?
type

## Properties

### `Optional` currentTarget

currentTarget?: any

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:5

### `Optional` target

target?: any

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:4

### type

type: string

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:3