Interface EventInputData<TNameType>

Input for an event. The name of the event is mandatory. Additional fields depend on the event.

interface EventInputData<TNameType extends string = string> {
    name: TNameType;
}

Type Parameters

  • TNameType extends string = string

    The type of the name property for the event. This can just be a string or it can be a specific string in order to create type safety ensuring each event has the right name (e.g. "typeof MY_EVENT_NAME").

Hierarchy (View Summary)

Properties

Properties

name: TNameType

The name of the event.

MMNEPVFCICPMFPCPTTAAATR