mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
core: fix db.settings.getTrashCleanupInterval return type (#8076)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -157,7 +157,7 @@ export class Settings implements ICollection {
|
||||
getTrashCleanupInterval() {
|
||||
const t = this.get("trashCleanupInterval");
|
||||
// stored as a string in db, need conversion before use
|
||||
return Number(t);
|
||||
return Number(t) as TrashCleanupInterval;
|
||||
}
|
||||
|
||||
setDefaultNotebook(item: string | undefined) {
|
||||
|
||||
Reference in New Issue
Block a user