UNPKG

customerio-gist-web

Version:

Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io

9 lines (8 loc) 277 B
type EventCallback = (event: unknown) => void; export default class EventEmitter { private callbacks; on(name: string, callback: EventCallback): void; off(name: string, callback?: EventCallback): void; dispatch(name: string, event: unknown): void; } export {};