mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
* feat: add `TitleAndButtonListHeader` * fix: continuations not being parsed correctly * chore: add a test * chore(package): bump version to 2.0.2 * chore: lint
15 lines
305 B
TypeScript
15 lines
305 B
TypeScript
import Text from './misc/Text';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class TitleAndButtonListHeader extends YTNode {
|
|
static type = 'TitleAndButtonListHeader';
|
|
|
|
title: Text;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
}
|
|
}
|
|
|
|
export default TitleAndButtonListHeader; |