Playlist thumbnail issue fixed

This commit is contained in:
killer069
2021-12-09 09:19:20 +05:30
parent a6ae318b1d
commit 6280bf5b81
4 changed files with 1 additions and 11 deletions

View File

@@ -281,7 +281,6 @@ interface PlaylistJSON {
* YouTube Playlist thumbnail Data
*/
thumbnail?: {
id: string | undefined;
width: number | undefined;
height: number | undefined;
url: string | undefined;

View File

@@ -1,11 +1,9 @@
export class YouTubeThumbnail {
id: string;
url: string;
width: number;
height: number;
constructor(data: any) {
this.id = data.id;
this.url = data.url;
this.width = data.width;
this.height = data.height;
@@ -13,7 +11,6 @@ export class YouTubeThumbnail {
toJSON() {
return {
id: this.id,
url: this.url,
width: this.width,
height: this.height

View File

@@ -38,7 +38,6 @@ interface VideoOptions {
* YouTube Thumbnail Data
*/
thumbnail?: {
id: string | undefined;
width: number | undefined;
height: number | undefined;
url: string | undefined;