EventEmitter

@demox-labs/aleo-wallet-adapter-base / Exports / EventEmitter

Namespace: EventEmitter

Table of contents

Interfaces

Type Aliases

Variables

Type Aliases

ArgumentMap

Ƭ ArgumentMap<T>: { [K in keyof T]: T[K] extends Function ? Parameters<T[K]> : T[K] extends any[] ? T[K] : any[] }

Type parameters

NameType

T

extends object

Defined in

node_modules/eventemitter3/index.d.ts:109


EventArgs

Ƭ EventArgs<T, K>: Parameters<EventListener<T, K>>

Type parameters

NameType

T

K

extends EventNames<T>

Defined in

node_modules/eventemitter3/index.d.ts:126


EventListener

Ƭ EventListener<T, K>: T extends string | symbol ? (...args: any[]) => void : (...args: ArgumentMap<Exclude<T, string | symbol>>[Extract<K, keyof T>]) => void

Type parameters

NameType

T

K

extends EventNames<T>

Defined in

node_modules/eventemitter3/index.d.ts:117


EventNames

Ƭ EventNames<T>: T extends string | symbol ? T : keyof T

Type parameters

NameType

T

Defined in

node_modules/eventemitter3/index.d.ts:105


ValidEventTypes

Ƭ ValidEventTypes: string | symbol | object

object should be in either of the following forms:

interface EventTypes {
  'event-with-parameters': any[]
  'event-with-example-handler': (...args: any[]) => void
}

Defined in

node_modules/eventemitter3/index.d.ts:103

Variables

EventEmitter

Const EventEmitter: EventEmitterStatic

Defined in

node_modules/eventemitter3/index.d.ts:131

Last updated