mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 11:02:10 +00:00
* replaced YTNode's data arg as RawNode * updated documentation * removed unused import ---- Note that there are still many nodes that need to be updated, hence the WIP status.
15 lines
380 B
TypeScript
15 lines
380 B
TypeScript
import Text from '../misc/Text.js';
|
|
import { YTNode } from '../../helpers.js';
|
|
import type { RawNode } from '../../index.js';
|
|
class UpdateDescriptionAction extends YTNode {
|
|
static type = 'UpdateDescriptionAction';
|
|
|
|
description: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.description = new Text(data.description);
|
|
}
|
|
}
|
|
|
|
export default UpdateDescriptionAction; |