@namiml/web-sdk
Version:
Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing
8 lines (7 loc) • 403 B
TypeScript
export declare class SimpleEventTarget implements EventTarget {
private listeners;
addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject | null): void;
dispatchEvent(event: Event): boolean;
}
export default SimpleEventTarget;