Reduce Community lint type-safety warnings

This commit is contained in:
vorotamoroz committed 2026-07-20 18:08:09 +00:00
1 parent 2cf535332b
commit 104eeadb4b
29 files changed
+664 -318

No files matched your search

+2 -1
View File
@@ -52,7 +52,8 @@ export const _OpenKeyValueDatabase = async (dbKey: string): Promise<KeyValueData
db = await _openDB();
databaseCache[dbKey] = db;
}
return await db.get(storeKey, key);
const value: unknown = await db.get(storeKey, key);
return value as T;
},
async set<T>(key: IDBValidKey, value: T) {
if (!db) {