feat: Apply fixes for type errors and unused variables
This commit is contained in:
1 parent
7193dd8bb7
commit
a93cfd201d
7 files changed
+25
-25
No files matched your search
@@ -53,5 +53,5 @@ export async function saveEpisode(ep: Episode): Promise<void> {
|
||||
|
||||
export async function fetchAllEpisodes(): Promise<Episode[]> {
|
||||
const stmt = db.prepare("SELECT * FROM episodes ORDER BY pubDate DESC");
|
||||
return stmt.all();
|
||||
return stmt.all() as Episode[];
|
||||
}
|
||||
Reference in new issue
Block a user