Interface Event<TType>

Fired when an event occurs.

interface Event<TType extends string = string> {
    date: Date;
    type: TType;
}

Type Parameters

  • TType extends string = string

Hierarchy (View Summary)

Properties

Properties

date: Date

The creation date of the event.

type: TType

The type of the event.