mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 20:56:19 -08:00
fix: resolve type definition in playlists service
This commit is contained in:
1 parent
129848c4d4
commit
7370019abe
1 file changed
+3
-3
@@ -9,7 +9,7 @@ import {
|
||||
createPlaylistObject,
|
||||
} from 'm3u-utils';
|
||||
import { NgxIndexedDBService } from 'ngx-indexed-db';
|
||||
import { combineLatest, map, switchMap } from 'rxjs';
|
||||
import { combineLatest, map, Observable, switchMap } from 'rxjs';
|
||||
import {
|
||||
Channel,
|
||||
DbStores,
|
||||
@@ -50,7 +50,7 @@ export class PlaylistsService {
|
||||
}
|
||||
}
|
||||
|
||||
deletePlaylist(playlistId: string) {
|
||||
deletePlaylist(playlistId: string): Observable<any> {
|
||||
return this.dbService.delete(DbStores.Playlists, playlistId);
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@ export class PlaylistsService {
|
||||
return this.dbService.getAll<Playlist>(DbStores.Playlists);
|
||||
}
|
||||
|
||||
removeAll() {
|
||||
removeAll(): Observable<any> {
|
||||
return this.dbService.clear(DbStores.Playlists);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user