aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases/KeymapUseCase.ts
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-10-03 12:32:32 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-10-06 12:58:59 +0000
commitb496cea5827165bd23a503231f94f708a976cad4 (patch)
treef6d8ec1bd42c8d6d43143c1b62d48b9f4a1d62c4 /src/content/usecases/KeymapUseCase.ts
parent62a86c525378610444a9976dd4409ea207174d20 (diff)
Make KeySequence class
Diffstat (limited to 'src/content/usecases/KeymapUseCase.ts')
-rw-r--r--src/content/usecases/KeymapUseCase.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/usecases/KeymapUseCase.ts b/src/content/usecases/KeymapUseCase.ts
index d0d039a..0f654c8 100644
--- a/src/content/usecases/KeymapUseCase.ts
+++ b/src/content/usecases/KeymapUseCase.ts
@@ -5,7 +5,7 @@ import AddonEnabledRepository from '../repositories/AddonEnabledRepository';
import * as operations from '../../shared/operations';
import { Keymaps } from '../../shared/Settings';
import Key from '../domains/Key';
-import KeySequence, * as keySequenceUtils from '../domains/KeySequence';
+import KeySequence from '../domains/KeySequence';
type KeymapEntityMap = Map<KeySequence, operations.Operation>;
@@ -71,7 +71,7 @@ export default class KeymapUseCase {
};
let entries = Object.entries(keymaps).map((entry) => {
return [
- keySequenceUtils.fromMapKeys(entry[0]),
+ KeySequence.fromMapKeys(entry[0]),
entry[1],
];
}) as [KeySequence, operations.Operation][];