UNPKG

@np-dev/youtubei-js

Version:

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

15 lines (14 loc) 500 B
import { type RawNode } from '../index.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import SectionList from './SectionList.js'; import MusicQueue from './MusicQueue.js'; import RichGrid from './RichGrid.js'; import { YTNode } from '../helpers.js'; export default class Tab extends YTNode { static type: string; title: string; selected: boolean; endpoint: NavigationEndpoint; content: SectionList | MusicQueue | RichGrid | null; constructor(data: RawNode); }