UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

8 lines (7 loc) 535 B
export declare abstract class AbstractEventEmitter<EventName extends string, EventListenerTypeMap extends Record<EventName, (...args: any[]) => any>> { private listeners; getListeners(eventName: EventName): Array<EventListenerTypeMap[EventName]>; on: <E extends EventName>(eventName: E, listener: EventListenerTypeMap[E]) => void; off: <E extends EventName>(eventName: E, toRemove: EventListenerTypeMap[E]) => void; emit: <E extends EventName>(eventName: E, ...data: Parameters<EventListenerTypeMap[E]>) => void; }