@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
9 lines (8 loc) • 336 B
TypeScript
export default class EventEmitterLike extends EventTarget {
#private;
constructor();
emit(type: string, ...args: any[]): void;
on(type: string, listener: (...args: any[]) => void): void;
once(type: string, listener: (...args: any[]) => void): void;
off(type: string, listener: (...args: any[]) => void): void;
}