mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 17:42:18 +00:00
13 lines
276 B
TypeScript
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;
|
|
}
|
|
} |