aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/background/repositories/PersistentSettingRepository.ts2
-rw-r--r--src/settings/storage.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/background/repositories/PersistentSettingRepository.ts b/src/background/repositories/PersistentSettingRepository.ts
index 18476fd..ff882a5 100644
--- a/src/background/repositories/PersistentSettingRepository.ts
+++ b/src/background/repositories/PersistentSettingRepository.ts
@@ -6,7 +6,7 @@ export default class SettingRepository {
if (!settings) {
return null;
}
- return SettingData.valueOf(settings);
+ return SettingData.valueOf(settings as any);
}
}
diff --git a/src/settings/storage.ts b/src/settings/storage.ts
index 748b9ab..c0005b7 100644
--- a/src/settings/storage.ts
+++ b/src/settings/storage.ts
@@ -5,7 +5,7 @@ export const load = async(): Promise<SettingData> => {
if (!settings) {
return DefaultSettingData;
}
- return SettingData.valueOf(settings);
+ return SettingData.valueOf(settings as any);
};
export const save = (data: SettingData) => {