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,16 @@
|
||||
import Text from './misc/Text.ts';
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import type { RawNode } from '../index.ts';
|
||||
import Text from './misc/Text.ts';
|
||||
|
||||
class ThumbnailOverlayInlineUnplayable extends YTNode {
|
||||
export default class ThumbnailOverlayInlineUnplayable extends YTNode {
|
||||
static type = 'ThumbnailOverlayInlineUnplayable';
|
||||
|
||||
text: string;
|
||||
icon_type: string;
|
||||
|
||||
constructor(data: any) {
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.text = new Text(data.text).toString();
|
||||
this.icon_type = data.icon.iconType;
|
||||
}
|
||||
}
|
||||
|
||||
export default ThumbnailOverlayInlineUnplayable;
|
||||
}
|
||||
Reference in New Issue
Block a user