diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-18 21:43:56 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-18 21:43:56 +0900 |
commit | a5518dce3d101cb1cb65724b82079f66f20c80c8 (patch) | |
tree | 79537b86e4a7bf231e8801c9c6bf2aeb94450343 /src/content/actions/index.ts | |
parent | 2ec912c262b51fe9523ebf74d5062d0b9bbdab71 (diff) |
Define Key and KeySequence
Diffstat (limited to 'src/content/actions/index.ts')
-rw-r--r-- | src/content/actions/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/actions/index.ts b/src/content/actions/index.ts index eb826fc..49f6484 100644 --- a/src/content/actions/index.ts +++ b/src/content/actions/index.ts @@ -1,5 +1,5 @@ import Redux from 'redux'; -import * as keyUtils from '../../shared/utils/keys'; +import Key from '../domains/Key'; // User input export const INPUT_KEY_PRESS = 'input.key.press'; @@ -25,7 +25,7 @@ export const NOOP = 'noop'; export interface InputKeyPressAction extends Redux.Action { type: typeof INPUT_KEY_PRESS; - key: keyUtils.Key; + key: Key; } export interface InputClearKeysAction extends Redux.Action { |