From 8ae1311ef69782ad6c8a313e49946152abf9d222 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 6 May 2019 22:17:01 +0900 Subject: src/content --- src/background/repositories/PersistentSettingRepository.ts | 2 +- 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 => { if (!settings) { return DefaultSettingData; } - return SettingData.valueOf(settings); + return SettingData.valueOf(settings as any); }; export const save = (data: SettingData) => { -- cgit v1.2.3