Files
hcapEnv/node_modules/event-lite/event-lite.d.ts
2026-02-21 18:27:49 +08:00

16 lines
356 B
TypeScript

// event-lite.d.ts
declare class EventLite {
static mixin(proto: any): any;
on(event: string, listener: (...args: any[]) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
off(event: string, listener: (...args: any[]) => void): this;
emit(event: string, ...args: any[]): boolean;
}
export = EventLite;