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-06 22:17:18 +0900 |
commit | b002d70070a1b691b635220bc694c48df36faca5 (patch) | |
tree | fd69cc7a74e30c33f33376acf7e36ce585c819d9 /src/content/actions/index.ts | |
parent | a0882bbceb7ed71d56bf8557620449fbc3f19749 (diff) |
src/content
Diffstat (limited to 'src/content/actions/index.ts')
-rw-r--r-- | src/content/actions/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/actions/index.ts b/src/content/actions/index.ts index a259211..8aa9c23 100644 --- a/src/content/actions/index.ts +++ b/src/content/actions/index.ts @@ -1,5 +1,6 @@ import Redux from 'redux'; import Settings from '../../shared/Settings'; +import * as keyUtils from '../../shared/utils/keys'; // Enable/disable export const ADDON_SET_ENABLED = 'addon.set.enabled'; @@ -51,7 +52,7 @@ export interface SettingSetAction extends Redux.Action { export interface InputKeyPressAction extends Redux.Action { type: typeof INPUT_KEY_PRESS; - key: string; + key: keyUtils.Key; } export interface InputClearKeysAction extends Redux.Action { |