mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 07:11:48 +00:00
21 lines
369 B
TypeScript
21 lines
369 B
TypeScript
import Parser from '../index';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class ProfileColumnStats extends YTNode {
|
|
static type = 'ProfileColumnStats';
|
|
|
|
items;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.items = Parser.parseArray(data.items);
|
|
}
|
|
|
|
// XXX: alias for consistency
|
|
get contents() {
|
|
return this.items;
|
|
}
|
|
}
|
|
|
|
export default ProfileColumnStats;
|