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
Additional player setup steps
No response
Checklist
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
any and 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
Chrome media internals output
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
Additional player setup steps
No response
Checklist
Steps to reproduce
hls.jsanyand not type() => booleanExpected 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
Chrome media internals output