feat(parser): Add SignalAction node

This commit is contained in:
Luan
2024-11-11 16:20:51 -03:00
parent d36ddb804a
commit feeb21b3eb
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { YTNode } from '../../helpers.js';
import type { RawNode } from '../../index.js';
export default class SignalAction extends YTNode {
static type = 'SignalAction';
public action: string;
constructor(data: RawNode) {
super();
this.action = data.action;
}
}