mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 23:32:32 +00:00
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
17 lines
376 B
TypeScript
17 lines
376 B
TypeScript
import Parser from '../../index';
|
|
import { YTNode } from '../../helpers';
|
|
|
|
class AddLiveChatTickerItemAction extends YTNode {
|
|
static type = 'AddLiveChatTickerItemAction';
|
|
|
|
item;
|
|
duration_sec;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.item = Parser.parseItem(data.item);
|
|
this.duration_sec = data.durationSec;
|
|
}
|
|
}
|
|
|
|
export default AddLiveChatTickerItemAction; |