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