refactor: clean up, fix & remove outdated code (#228)

* dev: refactor and remove redundant code

* docs(music): update `Library` API ref

* docs: update examples

* chore: update lock file
This commit is contained in:
LuanRT
2022-11-06 03:32:16 -03:00
committed by GitHub
parent 1eda93ee08
commit aa334aacbd
50 changed files with 2006 additions and 2403 deletions

View File

@@ -6,6 +6,7 @@ class MusicSideAlignedItem extends YTNode {
static type = 'MusicSideAlignedItem';
start_items?;
end_items?;
constructor(data: any) {
super();
@@ -13,6 +14,10 @@ class MusicSideAlignedItem extends YTNode {
if (data.startItems) {
this.start_items = Parser.parseArray(data.startItems);
}
if (data.endItems) {
this.end_items = Parser.parseArray(data.endItems);
}
}
}