mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-30 09:55:18 +00:00
chore: v5.0.0 release
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
import Parser from '../index.ts';
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import { type ObservedArray, YTNode } from '../helpers.ts';
|
||||
|
||||
class Endscreen extends YTNode {
|
||||
export default class Endscreen extends YTNode {
|
||||
static type = 'Endscreen';
|
||||
|
||||
elements;
|
||||
start_ms: string; // Or number?
|
||||
elements: ObservedArray<YTNode>;
|
||||
start_ms: string;
|
||||
|
||||
constructor(data: any) {
|
||||
super();
|
||||
this.elements = Parser.parseArray(data.elements);
|
||||
this.start_ms = data.startMs;
|
||||
}
|
||||
}
|
||||
|
||||
export default Endscreen;
|
||||
}
|
||||
Reference in New Issue
Block a user