diff --git a/src/content.ts b/src/content.ts index 6ce82711..ac517c72 100644 --- a/src/content.ts +++ b/src/content.ts @@ -735,7 +735,7 @@ async function getVideoInfo(): Promise { } } -function getYouTubeVideoID(url: string) { +function getYouTubeVideoID(url: string): string | boolean { // For YouTube TV support if(url.startsWith("https://www.youtube.com/tv#/")) url = url.replace("#", "");