diff --git a/functions/src/youtube.ts b/functions/src/youtube.ts index 180971e..27ce528 100644 --- a/functions/src/youtube.ts +++ b/functions/src/youtube.ts @@ -14,7 +14,7 @@ export const getChannels = async (apiKey: string, channelIds: string[]) => { return ( res.data.items?.map( - (item): ChannelInfo => ({ + (item: youtube_v3.Schema$Channel): ChannelInfo => ({ id: item.id ?? "", name: item.snippet?.title ?? "", thumbnail: item.snippet?.thumbnails?.default?.url ?? "",