refactor: fix a few parsing inconsistencies

This commit is contained in:
LuanRT
2022-09-23 03:06:21 -03:00
parent 9e703abe3a
commit 7485726f1e
4 changed files with 15 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ class ProfileColumnStats extends YTNode {
constructor(data: any) {
super();
this.items = Parser.parse(data.items);
this.items = Parser.parseArray(data.items);
}
// XXX: alias for consistency
@@ -17,4 +17,4 @@ class ProfileColumnStats extends YTNode {
}
}
export default ProfileColumnStats;
export default ProfileColumnStats;