mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
17 lines
419 B
TypeScript
17 lines
419 B
TypeScript
import Text from './misc/Text';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class MusicResponsiveListItemFixedColumn extends YTNode {
|
|
static type = 'musicResponsiveListItemFlexColumnRenderer';
|
|
|
|
title: Text;
|
|
display_priority: string;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.title = new Text(data.text);
|
|
this.display_priority = data.displayPriority;
|
|
}
|
|
}
|
|
|
|
export default MusicResponsiveListItemFixedColumn; |