UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

9 lines (8 loc) 336 B
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; }