src/content

jh-changes
Shin'ya Ueoka 6 years ago
parent b002d70070
commit 8ae1311ef6
  1. 2
      src/background/repositories/PersistentSettingRepository.ts
  2. 2
      src/settings/storage.ts

@ -6,7 +6,7 @@ export default class SettingRepository {
if (!settings) {
return null;
}
return SettingData.valueOf(settings);
return SettingData.valueOf(settings as any);
}
}

@ -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) => {