diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-06 22:17:01 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-07 20:58:40 +0900 |
commit | 8ae1311ef69782ad6c8a313e49946152abf9d222 (patch) | |
tree | f93562d3f2e5e5cc94a075c90b74b085a2058f83 | |
parent | b002d70070a1b691b635220bc694c48df36faca5 (diff) |
src/content
-rw-r--r-- | src/background/repositories/PersistentSettingRepository.ts | 2 | ||||
-rw-r--r-- | src/settings/storage.ts | 2 |
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) => { |