diff options
author | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-04 04:01:35 +0000 |
---|---|---|
committer | Shin'ya UEOKA <ueokande@i-beam.org> | 2019-10-06 12:58:59 +0000 |
commit | 410ffbb0376b9399928ef8d4dd13079bfb120e14 (patch) | |
tree | e408870fb867c7affb04c9b0130463df24e9f097 /src/content/client | |
parent | b496cea5827165bd23a503231f94f708a976cad4 (diff) |
Make Keymap class
Diffstat (limited to 'src/content/client')
-rw-r--r-- | src/content/client/SettingClient.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/client/SettingClient.ts b/src/content/client/SettingClient.ts index 0850f11..a7cd1ee 100644 --- a/src/content/client/SettingClient.ts +++ b/src/content/client/SettingClient.ts @@ -1,4 +1,4 @@ -import Settings from '../../shared/Settings'; +import Settings, { valueOf } from '../../shared/Settings'; import * as messages from '../../shared/messages'; export default interface SettingClient { @@ -10,6 +10,6 @@ export class SettingClientImpl { let settings = await browser.runtime.sendMessage({ type: messages.SETTINGS_QUERY, }); - return settings as Settings; + return valueOf(settings); } } |