Files
YouTube.js/deno/src/parser/classes/ProfileColumnStatsEntry.ts
2023-04-29 05:15:47 +00:00

16 lines
384 B
TypeScript

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