Files
YouTube.js/src/parser/classes/ProfileColumnStatsEntry.ts
LuanRT 34281e2445 refactor: migrate parsers to TS (#133)
* dev: finish top-level parsers TS migration

* dev: migrate menu renderers to TS

* chore: fix ts errors

* dev: finish ts migration 🎉
2022-08-20 03:18:17 -03:00

17 lines
356 B
TypeScript

import Text from './misc/Text';
import { YTNode } from '../helpers';
class ProfileColumnStatsEntry extends YTNode {
static type = 'ProfileColumnStatsEntry';
label: Text;
value: Text;
constructor(data: any) {
super();
this.label = new Text(data.label);
this.value = new Text(data.value);
}
}
export default ProfileColumnStatsEntry;