3 lines
158 B
TypeScript
Raw Normal View History

2025-09-05 14:59:21 +08:00
import { Emitter } from "@socket.io/component-emitter";
export declare function on(obj: Emitter<any, any>, ev: string, fn: (err?: any) => any): VoidFunction;