Interface IEmitter

interface IEmitter {
    emit: ((eventName, data) => void);
}

Properties

Properties

emit: ((eventName, data) => void)

Type declaration

    • (eventName, data): void
    • Parameters

      • eventName: string
      • data: object

      Returns void