Replies: 1 comment
-
What version of hls.js are you using? The signature for LevelKey was updated in v1.6 with #7099: constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array<ArrayBuffer> | null); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m encountering the following TypeScript error when using hls.js in an Angular project:
`Error: node_modules/hls.js/dist/hls.d.ts:2747:94 - error TS2315: Type 'Uint8Array' is not generic.
2747 constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array | null);`
📋 Steps to Reproduce
1. Create a TypeScript or Angular project.
2. Install hls.js.
3. Import and use Hls from the package.
4. Run tsc or ng build → observe the TS2315 error.
Beta Was this translation helpful? Give feedback.
All reactions