mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
13 lines
295 B
TypeScript
13 lines
295 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
|
|
export default class RichSection extends YTNode {
|
|
static type = 'RichSection';
|
|
|
|
content: YTNode;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.content = Parser.parseItem(data.content);
|
|
}
|
|
} |