chore: Fix other type error after chrome types update

This commit is contained in:
Aaron
2025-12-15 18:19:25 -06:00
parent 6036c6e8e0
commit 31ebf966fd
@@ -253,7 +253,8 @@ function defineStorageItem<T>(
): AnalyticsStorageItem<T> {
return {
getValue: async () =>
(await browser.storage.local.get(key))[key] ?? defaultValue,
(await browser.storage.local.get<Record<string, any>>(key))[key] ??
defaultValue,
setValue: (newValue) => browser.storage.local.set({ [key]: newValue }),
};
}