diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f116a2905..18aa11225 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -48,7 +48,10 @@ function isTauri() { /** * Conditionally imports the necessary service based on the current environment */ -export function DataFactory(http: HttpClient) { +export function DataFactory( + ngxIndexedDBService: NgxIndexedDBService, + http: HttpClient +) { if (isElectron()) { return new ElectronService(); } diff --git a/src/global.d.ts b/src/global.d.ts index 9e6c1dbd9..8934084e3 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1 +1,7 @@ import 'jest-extended'; + +declare module 'video.js' { + export interface VideoJsPlayer { + hlsQualitySelector(options?: any): void; + } +}