Skip to content

Commit

Permalink
Fix type errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
i-zolotarenko committed Dec 12, 2023
1 parent 810a228 commit fbfd36b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/p2p-media-loader-hlsjs/src/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ export class Engine {

private destroyCore = () => this.core.destroy();

// eslint-disable-next-line @typescript-eslint/no-explicit-any
initClapprPlayer(clapprPlayer: any) {
this._hlsInstance = undefined;
this.hlsInstanceGetter = () => clapprPlayer.core.getCurrentPlayback()?._hls;
}

Expand Down

0 comments on commit fbfd36b

Please sign in to comment.