Files
YouTube.js/src/parser/classes/RichSection.ts

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);
}
}