chore: v5.0.0 release

This commit is contained in:
LuanRT
2023-04-29 05:15:47 +00:00
parent b19d687eed
commit 48dc99e28b
445 changed files with 4076 additions and 3578 deletions

View File

@@ -1,17 +1,16 @@
import Thumbnail from './misc/Thumbnail.ts';
import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
class SingleHeroImage extends YTNode {
export default class SingleHeroImage extends YTNode {
static type = 'SingleHeroImage';
thumbnails: Thumbnail[];
style: string;
constructor(data: any) {
constructor(data: RawNode) {
super();
this.thumbnails = Thumbnail.fromResponse(data.thumbnail);
this.style = data.style;
}
}
export default SingleHeroImage;
}