Files
JiaZhiQianYan/node_modules/@posthog/core/dist/eventemitter.d.ts

9 lines
295 B
TypeScript

export declare class SimpleEventEmitter {
events: {
[key: string]: ((...args: any[]) => void)[];
};
constructor();
on(event: string, listener: (...args: any[]) => void): () => void;
emit(event: string, payload: any): void;
}
//# sourceMappingURL=eventemitter.d.ts.map