@yidun/livedetect-sdk-h5
Version:
活体检测 H5
11 lines (10 loc) • 342 B
TypeScript
import { Dispose } from './dispose';
export declare class EventEmitter {
private _events;
constructor();
emit(evt: string, ...args: any[]): boolean;
on(evt: string, fn?: Function): Dispose;
once(evt: string, fn?: Function): Dispose;
off(evt: string, fn?: Function): this;
removeAllListeners(evt?: string): this;
}