Files
YouTube.js/src/parser/classes/TitleAndButtonListHeader.ts
LuanRT c9856a8359 fix: search continuations not being parsed correctly (#173)
* feat: add `TitleAndButtonListHeader`

* fix: continuations not being parsed correctly

* chore: add a test

* chore(package): bump version to 2.0.2

* chore: lint
2022-09-08 21:31:07 -03:00

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;