diff options
author | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-07 12:02:02 +0000 |
---|---|---|
committer | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-07 12:31:13 +0000 |
commit | 532eeb5a1d9712676a9b3730bb7b27134c57831b (patch) | |
tree | 1cc0360426f383f0cc6a9396d6f591917ed76faf /src/background | |
parent | 16352502cf9396a9d573c2953940c31f4980c282 (diff) |
Rename valueOf to fromJSON
Diffstat (limited to 'src/background')
-rw-r--r-- | src/background/repositories/PersistentSettingRepository.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/repositories/PersistentSettingRepository.ts b/src/background/repositories/PersistentSettingRepository.ts index 927bce9..e3b78b3 100644 --- a/src/background/repositories/PersistentSettingRepository.ts +++ b/src/background/repositories/PersistentSettingRepository.ts @@ -8,7 +8,7 @@ export default class SettingRepository { if (!settings) { return null; } - return SettingData.valueOf(settings as any); + return SettingData.fromJSON(settings as any); } } |