From eb811debb5e48be1a6a5e2752fcda072ab288be9 Mon Sep 17 00:00:00 2001 From: Thiti Mahawannakit Date: Fri, 26 Aug 2022 18:21:57 +0700 Subject: [PATCH] fix(types): update the correct thumbnails property (#1099) Corrected the thumbnails property type in the VideoDetails interface --- typings/index.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 2a082653..de0611b5 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;