mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
chore: update proto and format code
This commit is contained in:
@@ -8,7 +8,7 @@ class ExpandedShelfContents extends YTNode {
|
||||
|
||||
constructor(data: any) {
|
||||
super();
|
||||
this.items = Parser.parse(data.items);
|
||||
this.items = Parser.parseArray(data.items);
|
||||
}
|
||||
|
||||
// XXX: alias for consistency
|
||||
|
||||
@@ -10,7 +10,7 @@ class HorizontalList extends YTNode {
|
||||
constructor(data: any) {
|
||||
super();
|
||||
this.visible_item_count = data.visibleItemCount;
|
||||
this.items = Parser.parse(data.items);
|
||||
this.items = Parser.parseArray(data.items);
|
||||
}
|
||||
|
||||
// XXX: alias for consistency
|
||||
|
||||
Reference in New Issue
Block a user