Fix lint issues and improve type safety

This commit is contained in:
Mert Uyanık
2025-10-29 08:40:19 +03:00
parent 4551c030ca
commit f26a76836f
4 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export const loadHls = async (): Promise<any> => {
const Hls = await loadHlsFromCDN()
return Hls
} catch (cdnError) {
console.error('❌ [HLS Loader] Failed to load hls.js from both npm and CDN')
console.error('❌ [HLS Loader] Failed to load hls.js from both npm and CDN', cdnError)
throw new Error('Unable to load HLS.js library. HLS streaming is not available.')
}
}