API Reference
Rockets Core API
nestjs-event
interfaces
EventClassInterface

Interface: EventClassInterface<E>

Interface defining static signature of newable events.

Extends

  • EventKeyInterface

Type Parameters

Type Parameter
E

Constructors

new EventClassInterface()

new EventClassInterface(payload?): E & EventInstance<E>

Internal

Parameters

ParameterType
payload?E & EventInstance<E>["payload"]

Returns

E & EventInstance<E>

Inherited from

EventKeyInterface.constructor

Defined in

.tmp/repos/rockets/packages/nestjs-event/src/events/interfaces/event-class.interface.ts:11 (opens in a new tab)

Properties

PropertyTypeDescriptionInherited from
keystringEvent key.EventKeyInterface.key