Files
YouTube.js/src/parser/classes/DynamicTextView.ts
2023-07-19 19:00:26 -03:00

13 lines
276 B
TypeScript

import { YTNode } from '../helpers.js';
import type { RawNode } from '../index.js';
export default class DynamicTextView extends YTNode {
static type = 'DynamicTextView';
text: string;
constructor(data: RawNode) {
super();
this.text = data.text.content;
}
}