mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
* feat: add `ClipSection` * fix: Update src/parser/classes/ClipCreation.ts --------- Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import Text from './misc/Text.js';
|
|
|
|
import type { RawNode } from '../types/index.js';
|
|
|
|
export default class ClipAdState extends YTNode {
|
|
static type = 'ClipAdState';
|
|
|
|
title: Text;
|
|
body: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = new Text(data.title);
|
|
this.body = new Text(data.body);
|
|
}
|
|
} |