aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/input.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/actions/input.ts')
-rw-r--r--src/content/actions/input.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/actions/input.ts b/src/content/actions/input.ts
index 465a486..21c912e 100644
--- a/src/content/actions/input.ts
+++ b/src/content/actions/input.ts
@@ -1,13 +1,13 @@
-import actions from 'content/actions';
+import * as actions from './index';
-const keyPress = (key) => {
+const keyPress = (key: string): actions.InputAction => {
return {
type: actions.INPUT_KEY_PRESS,
key,
};
};
-const clearKeys = () => {
+const clearKeys = (): actions.InputAction => {
return {
type: actions.INPUT_CLEAR_KEYS
};