Files
YouTube.js/src/parser/classes/SharePanelTitleV15.ts
2024-11-10 04:08:23 -03:00

14 lines
327 B
TypeScript

import type { RawNode } from '../index.js';
import { YTNode } from '../helpers.js';
import { Text } from '../misc.js';
export default class SharePanelTitleV15 extends YTNode {
static type = 'SharePanelTitleV15';
public title: Text;
constructor(data: RawNode) {
super();
this.title = new Text(data.title);
}
}