mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
17 lines
356 B
TypeScript
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; |