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