Skip to content

Commit

Permalink
fix(types): update the correct thumbnails property (#1099)
Browse files Browse the repository at this point in the history
Corrected the thumbnails property type in the VideoDetails interface
  • Loading branch information
Thiti-Dev committed Aug 26, 2022
1 parent 11103be commit eb811de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions typings/index.d.ts
Expand Up @@ -128,9 +128,7 @@ declare module 'ytdl-core' {
channelId: string;
isOwnerViewing: boolean;
isCrawlable: boolean;
thumbnail: {
thumbnails: thumbnail[];
};
thumbnails: thumbnail[];
averageRating: number;
allowRatings: boolean;
viewCount: string;
Expand Down

0 comments on commit eb811de

Please sign in to comment.