mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-26 08:08:54 +00:00
14 lines
368 B
TypeScript
14 lines
368 B
TypeScript
import { Parser, type RawNode } from '../index.js';
|
|
import { type ObservedArray, YTNode } from '../helpers.js';
|
|
import Tab from './Tab.js';
|
|
|
|
export default class TabbedSearchResults extends YTNode {
|
|
static type = 'TabbedSearchResults';
|
|
|
|
tabs: ObservedArray<Tab>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.tabs = Parser.parseArray(data.tabs, Tab);
|
|
}
|
|
} |