-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Revisit-at-later-release-cycleWill revisit during release cycle indicated by the MilestoneWill revisit during release cycle indicated by the MilestoneTypeScriptlight-build
Description
What version of Hls.js are you using?
1.6.13
What browser (including version) are you using?
firefox 143
What OS (including version) are you using?
macos tahoe
Test stream
No response
Configuration
not applicableAdditional player setup steps
No response
Checklist
- The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- The issue occurs in the stable client (latest release) on https://hlsjs.video-dev.org/demo and not just on my page
- The issue occurs in the latest client (main branch) on https://hlsjs-dev.video-dev.org/demo and not just on my page
- The stream has correct Access-Control-Allow-Origin headers (CORS)
- There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
- make a blank typescript project
- install
hls.js - paste the following code
import Hls from 'hls.js/light';
Hls.isSupported()- and notice that isSupported is of type
anyand not type() => boolean
Expected behaviour
as you can see, with the normal version, types work fine
What actually happened?
it fails to find a declaration file, as the build script does not generate these files for the /light version
Console output
not applicableChrome media internals output
Metadata
Metadata
Assignees
Labels
Revisit-at-later-release-cycleWill revisit during release cycle indicated by the MilestoneWill revisit during release cycle indicated by the MilestoneTypeScriptlight-build