Make KeySequence class
This commit is contained in:
parent
62a86c5253
commit
b496cea582
5 changed files with 63 additions and 74 deletions
|
@ -7,7 +7,7 @@ export default interface KeymapRepository {
|
|||
clear(): void;
|
||||
}
|
||||
|
||||
let current: KeySequence = KeySequence.from([]);
|
||||
let current: KeySequence = new KeySequence([]);
|
||||
|
||||
export class KeymapRepositoryImpl {
|
||||
|
||||
|
@ -17,6 +17,6 @@ export class KeymapRepositoryImpl {
|
|||
}
|
||||
|
||||
clear(): void {
|
||||
current = KeySequence.from([]);
|
||||
current = new KeySequence([]);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue