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
T
extends object
Defined in
node_modules/eventemitter3/index.d.ts:109
EventArgs
Ƭ EventArgs<T
, K
>: Parameters
<EventListener
<T
, K
>>
Type parameters
T
extends ValidEventTypes
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
T
extends ValidEventTypes
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
T
extends ValidEventTypes
Defined in
node_modules/eventemitter3/index.d.ts:105
ValidEventTypes
Ƭ ValidEventTypes: string
| symbol
| object
object
should be in either of the following forms:
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