Files
YouTube.js/src/parser/classes/MenuTitle.ts
2024-11-17 00:14:37 -03:00

14 lines
309 B
TypeScript

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